In the previous chapter, we created some basic visualizations, a donut, a line chart, and some area charts. The data we visualized was rather simple, with no dependencies between the various data elements. In this chapter, we're going to look at how to visualize a different kind of data structure: hierarchical data. With hierarchical data, the data can be represented as a tree of data elements, where elements can have parent nodes and child nodes. D3 provides several different ways we can visualize this data. In this chapter, we're going to explore the following subjects:
- We're going to start by visualizing hierarchical data as a simple horizontal tree. Besides just showing the data, we'll also show you how you can zoom and pan around the visualization using standard D3 functionality.
- One of the disadvantages of using a standard horizontal tree to visualize data...