Chapter 2. Information visualization data flow

This chapter covers

  • Loading data from external files of various formats
  • Working with D3 scales
  • Formatting data for analysis and display
  • Creating graphics with visual attributes based on data attributes
  • Animating and changing the appearance of graphics

Toy examples and online demos sometimes present data in the format of a Java-Script-defined array, the same way we did in chapter 1. But in the real world, your data is going to come from an API or an external file, and you’re going to need to load it, format it, and transform it before you start creating web elements based on that data. This chapter describes this process of getting data into a suitable form and touches on the basic structures that ...

Get D3.js in Action, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.