- Paperback: 474 pages
- Publisher: O'Reilly Media; 2 edition (August 26, 2017)
- Language: English
- ISBN-10: 1491921285
- ISBN-13: 978-1491921289
- Product Dimensions: 7 x 1 x 9.5 inches
- Shipping Weight: 1.6 pounds (View shipping rates and policies)
- Average Customer Review: 9 customer reviews
- Amazon Best Sellers Rank: #22,400 in Books (See Top 100 in Books)
To get the free app, enter your mobile phone number.
Interactive Data Visualization for the Web: An Introduction to Designing with D3 2nd Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
From the Publisher
From the Preface
This is a book about programming data visualizations for nonprogrammers. If you’re an artist or graphic designer with visual skills but no prior experience working with data or code, this book is for you. If you’re a journalist or researcher with lots of data but no prior experience working with visuals or code, this book is for you, too.
What’s New in the Second Edition:
- In-depth coverage of nonlinear scales (such as square root and ordinal scales) and time-based scales
- A new chapter on using SVG paths for drawing line and area charts
- A new chapter on selections and using selections efficiently to filter elements by data value
- A hugely expanded geomapping chapter addressing how to make interactive maps with panning, zooming, and tooltips, plus an introduction to the TopoJSON data format
- A new project walk-through chapter, in which I create a visualization project with real-world data from scratch
- A new appendix of inspiring case studies, in which nine accomplished designers talk about the processes behind their D3-based projects
- A new appendix summarizing what’s new in version 4.0 of D3
- An expanded appendix on 'Further Study,' including helpful tips on how and where to get help when you get stuck
- A new appendix on sharing your code with others
- A new appendix with a quick reference of the most commonly used functions
- And more!
Express Data Visually
Use Scales and Axes
Use D3’s built-in scales to map data values to pixels! D3 even has time-based scales for working with temporal data. Generate dynamic axes to label your visuals, and use silky-smooth transitions between different chart views.
Maps, Maps, Maps
Make your own interactive maps by merging your data with raw geographic shapes. Use D3’s built-in tools to position data on the map, and enable exploration with panning and zooming.
Other Chart Types
Over 140 code examples illustrate how to create everything from bar charts and scatterplots to line and area charts, pie charts, stacked bar and area charts, and force-directed network visualizations.
"There are few books that I'd call 'game-changers.' Interactive Data Visualization for the Web is one of them. It takes a topic that is obscure and hard to grasp for noncoders, and it transforms it into a delightful experience--full of clarity, fun, and insight. It's the book that I recommend to all of my students to get started with d3.js."
--Alberto Cairo, Knight Chair in Visual Journalism, University of Miami
"Scott Murray is pioneering a new approach to design--combining deep knowledge of both code and visual principles to create work that is at once extraordinarily beautiful, highly interactive, and coherently integrated. What's more, he's a teacher who generously shares his knowledge. And now, he's revised his wonderful book Interactive Data Visualization for the Web--a foundational text for designers and anyone else dealing with the coming onrush of data."
--Hugh Dubberly, Principal, Dubberly Design Office
"We have been using Scott's book in our CS171 Visualization course at Harvard for the past three years. It is, by far, the most comprehensive and best introduction to D3 out there. The tone of the book is conversational, and it is easily accessible by nonexperts and beginners. Our students like it, and I believe they benefit from having the materials presented in the order that Scott came up with. We are definitely looking forward to the next edition!"
--Hanspeter Pfister, An Wang Professor of Computer Science, Harvard University
"The first edition has simply been the most complete, effective, single source for learning D3 and visualization on the web from scratch. I have recommended it countless times."
--Erik Cunningham, Software Engineer, Twitter
"I can't think of a better way to understand D3. It's funny and engaging for a nonprogrammer, deep and detailed for an engineer, and filled with practical and visual bliss for the designer."
--Xaquín G.V., Visual Storyteller, formerly The Guardian, The New York Times, and National Geographic
About the Author
He can be found at alignedleft.com and @alignedleft.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
The 2nd edition is nearly twice as long as the first. It's updated to use version 4.x of the D3 libraries (example code uses versions up to 4.5), and covers more facets of the D3 libraries. At the end, there are also some specific examples discussed. The first edition was amazing in terms of getting oriented to D3; the second is a much more complete and mature book.
My primary criticism of Murray's approach is the lack of using functions to organize his code, which ends up as one big spew. So anyone who's a real coder will want to set up their own structure for the examples, to make better sense of them and to better enable reuse for other projects.
But the bottom line is: I don't think there's a better path to learning D3. Get this book.
-- end backstory --
I bought this book on Safari (O'Reilly's eBook portal) last Monday. I have spent every day since then going through the first 12 chapters and skimming through the remainder of the book. By the time it hit Thursday, I finished this text and liked this book so much that I decided that I needed to have a softcover copy of this book. It is Saturday, and as I'm typing this, I am building a map using data from the U.S. Department of Education College Scorecard dataset! Amazing!
I've spent many, many hours struggling to understand D3 syntax, and this book has cut down my time significantly from having to dig through the myriad of D3 examples online and trying to understand the code. If you are learning D3 and are like me, not having any background in web development and need to learn it quickly, look no further, and buy this book.
*That's not going to happen, thankfully. :)
This is a unique and wonderful book.
D3.js is a library created solely to visualize data.
The author, Scott Murray, has a marvelous writing style. Light, often humorous, and always informative.
But it’s true.
This is really an exceptional book. I had no idea of how easy it is to visualize data within browsers.