D3.js: Data Visualization for the Web
Shriira Press
A comprehensive, self-contained guide to D3.js (Data-Driven Documents), the library behind the web's most sophisticated, custom data visualizations…
Welcome to D3.js: Data Visualization for the Web.
A comprehensive, self-contained guide to D3.js (Data-Driven Documents), the library behind the web's most sophisticated, custom data visualizations — the interactive graphics in the New York Times, the bespoke dashboards, the animated explanatory charts that no off-the-shelf charting library could produce. D3 is not a charting library; it's a set of low-level building blocks — selections, data joins, scales, shapes — that you compose into exactly the visualization you envision, bound to data and rendered as SVG (or Canvas) in the browser. This book teaches it from first principles: selections and the famous data join, scales (the heart of D3), SVG, axes and shape generators, loading data, building charts, transitions, interaction, layouts and maps, and the ecosystem. It blends intuition, the concepts behind the API, and runnable code.
This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.
A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.
We hope it serves you well.
— Shriira Press