I discovered the book because I cam across Scottâ€™s blogÂ when I was doing a spike on d3.js some weeks back. His blog was expanded into the book. The book starts with a look at why we build data visualizations, offers some alternative toolkits then jumps right into d3.js. I would have liked to see more of a discussion around the technologies available in HTML5 forÂ visualizingÂ data.Â Â In addition to SVG, which d3.js leverages, there is canvas and you can also build some pretty interesting things in pure CSS3. There are also many tools for doing static image generation on the server side.
Scott introduces d3 in more detail and talks about method chaining(a huge part of d3) and getting data. The rest of the book builds on the basic d3.js knowledge by creating more and more complicated graphs. The book moves through bar chart and scatter plot before adding talk of using scales and leveraging animation. Â I had been a bit confused about how to make use of dynamic data sets in d3 but the section on how to add data cleared that up nicely.
Finally a couple of more advanced topics are covered including talking about some(not all, mind you) of the buit in layouts in d3.js. Finally mapping is covered. Thank goodness there is some discussion of projections because that is what got me when I worked with maps in d3.js.
There is very little discussion about what makes a good visualization and there is no attempt to come up with any unique visualizations.Â If youâ€™re interested in that aspect then pretty much anything which comes out of Stephen Few is insightful and superÂ interesting.
For the price that Oâ€™Reilly charged me for this book it is 100% worth it. Plus I hear that for every time you look at an Oâ€™Reilly book and donâ€™t buy it they kill one of the animals pictured on the cover.