Each chapter builds upon the knowledge learnt in the previous chapters to demonstrate how to create simple to more complex and more interactive data visualisations. There are many ways to create visualisations using D3, but the book explores simple but powerful methods to create visualisations and to add interactivity. The earlier chapters create simple elements, and then go on to create bar charts with all the elements you would expect including bars, labels, scales, axes, and colours. Other visualisations include scatter plots, pie charts, stacks, force layouts, and geomapping. Interactivity in the form of changing colours, changing, adding, removing, and updating the data, movement and animation, transitions, tooltips, and randomising data. The final chapter discusses various options for exporting the visualisations for use in other documents.
This book is very easy to read and to follow, and clearly explains everything from the basics to more advanced techniques. All the code examples are available as downloads, which is handy for seeing the effects described, and provide a starting point for your own visualisations. There are limited published resources for using D3, so the appendix provides a reading list for further study including websites and relevant twitter users to help you find example projects and future developments. I would recommend this book for anyone who is thinking of sharing data visualisations on the web, or who want to create their own custom visualisations for their own work, particularly students and researchers who want to add something more interesting to their research than the same old charts out of Excel. I intend to give D3 a go for visualising my own research data in the future!
See the O’Reilly product page for more information.