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 bar chart and display API results in a web page.
How deep it goes
Works through chart refinements and an API-backed list, but does not develop D3.js internals.
Examples
Shows a five-value bar chart with labels and hover behavior, plus a health-status list populated from an API.
What you can do after
Apply it via D3.js to render a chart or API results, then check generated code, endpoint configuration, and browser access.

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 →

Related concepts

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.