liveBook · Manning

D3.js

D3.js is an open-source JavaScript library for binding data to documents and creating dynamic, interactive visualizations in web browsers.

How 3 Manning books explain it

D3.js in Action, Third Edition

D3.js is a JavaScript library for binding data to documents and creating interactive, customizable visualizations in web browsers.

How it is used
Supports custom, interactive web visualizations when predefined charts offer too little control.
How deep it goes
Works through setup, DOM manipulation, data binding, scales, and framework integration; leaves substantial data cleaning outside its scope.
Examples
Uses a survey bar chart, a data-bound HTML color legend, and a React scatterplot.
What you can do after
Build it from scratch: assemble data-driven browser graphics and interactions, or apply D3 calculations while React renders the elements.

Read how D3.js in Action, Third Edition explains D3.js →

Build Financial Software with Generative AI (From Scratch)

D3.js is a JavaScript library for binding data to documents and creating dynamic, interactive data visualizations.

How it is used
Uses D3.js to build an interactive chart and display API results in a web page.
How deep it goes
Demonstrates incremental chart enhancements and a data-binding chain for an API-backed list.
Examples
Shows a labeled bar chart with hover effects and a health-status list populated from an API.
What you can do after
Applies D3.js through generated and customized pages for charts and API results.

Read how Build Financial Software with Generative AI (From Scratch) explains D3.js →

Everyday Data Visualization

D3.js is a free, open-source JavaScript library for producing dynamic, data-driven documents and visualizations in web browsers.

How it is used
Produces dynamic, data-driven visualizations in web browsers through JavaScript and web standards.
How deep it goes
Demonstrates a basic bar chart and core technologies, but defers coding instruction and detailed implementation.
Examples
Uses fruit data, a basic bar chart, and web visualizations such as those published by The New York Times.
What you can do after
Build a basic browser bar chart with D3.js using approximately 50 lines of code.

Read how Everyday Data Visualization explains D3.js →

What to know first

Related concepts

Questions about D3.js

What is D3.js?

D3.js is an open-source JavaScript library for binding data to documents and creating dynamic, interactive visualizations in web browsers.

Which Manning books explain D3.js?

D3.js in Action, Third Edition, Build Financial Software with Generative AI (From Scratch) and Everyday Data Visualization.

What should I know before learning D3.js?

Manning books that teach D3.js usually introduce CSS, HTML and server first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.