Getting Started with D3 – A guide to working with data-driven documents – #bookreview #javascript

Getting Started with D3
Mike Dewar
(O’Reilly, paperbackKindle)

This focused, 58-page how-to guide introduces the basics of D3, a JavaScript library written by Mike Bostock.

The D3 library, a free download, can be used to manipulate documents based on data. According to the Data-Driven Documents website, “D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. For example, you can use D3 to generate an HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction.”

Mike Dewar’s book is aimed at “the data scientist: someone has data to visualize and who wants to use the power of the modern web browser to give his visualizations additional impact.” However, if you don’t consider yourself a data scientist, but are comfortable with coding and manipulating data, this book can still show you how to use a combination of JavaScript and SVG [Scalable Vector Graphics] “to build everything from simple bar charts to complex infographics.”

Getting Started with D3 has six chapters, and they are illustrated with code samples and examples of graphics produced using D3.

  1. Introduction
  2. The Enter Selection
  3. Scales, Axes, and Lines
  4. Interactions and Transitions
  5. Layout
  6. Conclusion

In his conclusion, Mike Dewar, a data scientist at Bitly, offers encouragement and additional resources for digging deeper into D3. “The documentation for D3 is extensive,” he writes, “and is available at http://d3js.org along with a huge gallery of examples. This is an essential resource, both for reference and inspiration.”

His book is also an essential resource, for learning the basics of using D3.

Si Dunn

Author

  • Si Dunn is a novelist, screenwriter, photojournalist, and book reviewer. His published books include: DARK SIGNALS, a Vietnam War memoir; ERWIN'S LAW, a private-detective novel; and JUMP, a novella about a combat veteran suffering from PTSD and alienation while trying to work for newspapers as a journalist. Several of his feature screenplays recently were under option to movie producers. He spent nearly 15 years working as a technical writer and software tester in the telecommunications industry. His current programming interests include Go, JavaScript, Python, R, Angular, and other languages and frameworks. He is a U.S. Navy veteran and a graduate of the University of North Texas.

Leave a Reply

%d bloggers like this: