O'Reilly logo

Learning d3.js Data Visualization - Second Edition by Swizec Teller, Ændrew Rininsland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Making Data Useful

At its core, D3 is a data manipulation library. We're going to take a look at making our datasets useful with both D3 and plain old JavaScript.

We start with a quick dive into functional programming to bring everyone up to speed. A lot of this will be self-evident if you use Haskell, Scala, or Lisp, or have already been writing JavaScript in functional style, but it's worth reviewing so that we can contrast it with the object-oriented style we use in our classes.

We will continue loading external data and taking a closer look at scales, and finish with some temporal and geographic data.

Thinking about data functionally

Due to the functional design of D3, we have to start thinking about our code and data with a functional ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required