Create stunning web-based data visualizations with D3.js.
This totally-revised new edition of D3.js in Action guides you from simple charts to powerful interactive graphics. Chapter-by-chapter you’ll assemble an impressive portfolio of visualizations—including intricate networks, maps, and even a complete customized visualization layout. Plus, you'll learn best practices for building interactive graphics, animations, and integrating your work into frontend development frameworks like React and Svelte.
In D3.js in Action, Third Edition you will learn how
Set up a local development environment for D3 Include D3 in web development projects, including Node-based web apps Select and append DOM elements Size and position elements on screen Assemble components and layouts into creative data visualizations D3.js in Action, Third Edition has been extensively revised for D3.js version 7, and modern best practices for web visualizations. Its brand new chapters dive into interactive visualizations, cover responsiveness for dataviz, and show you how you can improve accessibility.
Foreword by Andy Kirk.
About the technology
With D3.js, you can create sophisticated infographics, charts, and interactive data visualizations using standard frontend tools like JavaScript, HTML, and CSS. Granting D3 its VIS Test of Time award, the IEEE credited this powerful library for bringing data visualization to the mainstream. You’ll be blown away by how beautiful your results can be!
About the book
D3.js in Action, Third Edition is a roadmap for creating brilliant and beautiful visualizations with D3.js. Like a gentle mentor, it guides you from basic charts all the way to advanced interactive visualizations like networks and maps. You’ll learn to build graphics, create animations, and set up mobile-friendly responsiveness. Each chapter contains a complete data visualization project to put your new skills into action.
What's inside
Fully revised for D3.js v7 Includes 12 complete projects Create data visualizations with SVG and canvas Combine D3 with React, Svelte, and Angular About the reader
For web developers with HTML, CSS, and JavaScript skills.
About the author
Elijah Meeks was a data visualization pioneer at Stanford and the first Senior Data Visualization Engineer at Netflix. Anne-Marie Dufour is a Data Visualization Engineer.
The technical editor on this book was Jon Borgman.
Table of Contents PART 1 1 An introduction to D3.js 2 Manipulating the DOM 3 Working with data 4 Drawing lines, curves, and arcs 5 Pie and stack layouts 6 Visualizing distributions PART 2 7 Interactive visualizations 8 Integrating D3 in a frontend framework 9 Responsive visualizations 10 Accessible visualizations PART 3 11 Hierarchical visualizations 12 Network visualizations 13 Geospatial information visualizations PART 4 14 Creating a custom visualization 15 Rendering visualizations with Canvas Appendix A Appendix B
I'm currently a senior data visualization engineer at Netflix, where I have the chance to create visual representations of big data. I started doing data visualization and analysis in graduate school where I used GIS to study the effects of environmental change on historical states. Before coming to Netflix, I worked at Stanford creating interactive scholarly works in the field of digital humanities, which broadly speaking is the application of new analytical and interactive techniques to the study of history, literature and philosophy.
One of the best, if not the absolute best book ever written about D3.js. Full of insights, very practical and extended with on the field experience of the top experts on the topic: very enriching and captivating. A must!
If I could give this book 10 stars I would. It’s absolutely perfect, explaining and showing so much of current (framework integrated) advanced data viz. As I’m working with their code examples I will come back to the book a lot, that’s also the reason it took me long time to finish it. I always tried and applied even to my projects what was introduced in the chapters. This book is extremely rich, meaning in code and data viz design delivering high standard. That’s special because a lot of books only fulfill one of the two.
This is a good book for learning how to develop advanced visualizations using the D3.js library. No prior knowledge of D3.js is required, as the content is presented in a gradual manner to facilitate learning. The book takes us from the fundamentals of D3.js to the construction of interactive visualizations and other advanced concepts. It should be noted that having a programming background would be necessary to make the most of the explanations; it is not a beginner's book. It can be recommended to professionals and advanced-level computer science students.