Notes for April 13

Today we'll work with hierarchical data, which can be treated like a network but often are better visualized with specific charts.

The d3 hierarchy library has lots of helpful generators, including one for data structures and one for space-filling diagrams (treemaps).

For this lecture, we'll also be making use of the d3-array submodule that must be imported separately. It has a lot of very helpful functions for managing data.

HTML for today:
Code for today: