Getting Started with D3: Creating Data-Driven Documents, Part 3

Front Cover
"O'Reilly Media, Inc.", Jun 27, 2012 - Computers - 70 pages
2 Reviews

Learn how to create beautiful, interactive, browser-based data visualizations with the D3 JavaScript library. This hands-on book shows you how to use a combination of JavaScript and SVG to build everything from simple bar charts to complex infographics. You’ll learn how to use basic D3 tools by building visualizations based on real data from the New York Metropolitan Transit Authority.

Using historical tables, geographical information, and other data, you’ll graph bus breakdowns and accidents and the percentage of subway trains running on time, among other examples. By the end of the book, you’ll be prepared to build your own web-based data visualizations with D3.

  • Join a dataset with elements of a webpage, and modify the elements based on the data
  • Map data values onto pixels and colors with D3’s scale objects
  • Apply axis and line generators to simplify aspects of building visualizations
  • Create a simple UI that allows users to investigate and compare data
  • Use D3 transitions in your UI to animate important aspects of the data
  • Get an introduction to D3 layout tools for building more sophisticated visualizations

If you can code and manipulate data, and know how to work with JavaScript and SVG, this book is for you.


What people are saying - Write a review

User Review - Flag as inappropriate

Ok but way too short
Not abad little intro but not enough detail. It's easy to learn the basics of d3 from the internet but learning to produce more complex visualizations is harder. A bit pricey for a small book.


Chapter 1 Introduction
Chapter 2 The Enter Selection
Chapter 3 Scales Axes and Lines
Chapter 4 Interaction and Transitions
Chapter 5 Layout
Chapter 6 Conclusion

Other editions - View all

Common terms and phrases

About the author (2012)

Mike Dewar is a data-scientist at Bitly, a New York tech company that makes long URLs shorter. He has a PhD in modelling dynamic systems from data from the University of Sheffield in the UK, and has worked as a Machine Learning post-doc in The University of Edinburgh and Columbia University. He has been drawing graphs regularly since he was in High School, and is starting to get the hang of it.

Bibliographic information