Review: Getting Started with D3

Published Oct 1, 2012 (12 years ago)
Danger icon
The last modifications of this post were around 12 years ago, some information may be outdated!

D3 Cover

A project I am currently working on required me to find an efficient way to displaying a "heat map" of data throughout the United States. While one approach would be to simply create static images, the map also needed to be updated based on different data parameters. We also wanted to be able to generate tooltips and zoom in and out of the map. These requirements led me to the D3 library and a nice book entitled, Getting Started with D3 by Mike Dewar that helped get me up and running.

This is a short book, designed to get you up and running quickly, using a real world scenario of the New York Metropolitan Transit Authority in order to provide working examples of code. There is a short introduction about the D3 library itself and then you are brought straight in to a basic example of data binding to an unordered list. From there the book increases complexity, going to scatter maps, dynamic interaction with the data, and even timed updates.

This is a "learn by doing" book that doesn't go into much theory or structure. For some people this may be an issue (I wound up using some online sources to cover the mapping specific needs I had in conjunction to this book), but if you need something to get up and running immediately, then this is an invaluable resource. I will be going back to this book often in the future, as it outlined how many powerful features are available through the library and I will have many projects in the future where this will come in handy.

Getting Started with D3 gets you up and running with this powerful Javascript library quickly and easily. It does not provide detailed documentation on it's library and background, but it will help you get data visualizations on your site immediately, from which you can dig deeper to enhance your site later on. I recommend it if you need to get up and running quickly, or if you want a brief and fully functional overview of the library.

You can get this book through O’Reilly Books at http://shop.oreilly.com/product/0636920025429.do.