Book Image

Data Visualization with d3.js

By : Swizec Teller
Book Image

Data Visualization with d3.js

By: Swizec Teller

Overview of this book

<p>d3.js. provides a platform that help you create your own beautiful visualization and bring data to life using HTML, SVG and CSS. It emphasis on web standards that will fully utilize the capabilities of your web browser.</p> <p>Data Visualization with d3.js walks you through 20 examples in great detail. You can finally stop struggling to piece together examples you've found online. With this book in hand, you will learn enough of the core concepts to conceive of and build your own visualizations from scratch.</p> <p>The book begins with the basics of putting lines on the screen, and builds on this foundation all the way to creating interactive animated visualizations using d3.js layouts.</p> <p>You will learn how to use d3.js to manipulate vector graphics with SVG, layout with HTML, and styling with CSS. You'll take a look at the basics of functional programming and using data structures effectively – everything from handling time to doing geographic projections. The book will also help make your visualizations interactive and teach you how automated layouts really work.</p> <p>Data Visualization with d3.js will unveil the mystery behind all those beautiful examples you've been admiring.</p>
Table of Contents (13 chapters)

Some great examples


A lot of hard academic research is going into visualization design. Reading some of the material is a great idea when you're looking for something specific—like how best to transition between a scatterplot and a histogram (http://vis.berkeley.edu/papers/animated_transitions/)—but coming up to speed on such a vast field takes time.

For an exhaustive look at visualization methods, take a look at the periodic table of visualizations developed by the KPI Library. You can find it at http://www.visual-literacy.org/periodic_table/periodic_table.html.

The periodic table uses six categories—Data, Information, Concept, Strategy, Metaphor, and Compound visualization. Hovering over a cell shows an example category.

The table itself is a well-done visualization. It may not be beautiful or artistic, but emulates the common periodic table perfectly. It immediately draws our attention and sticks in our mind because of the familiarity, and presents the data well. On the other hand, there...