-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
This chapter introduced D3’s d3-hierarchy module, which contains tools to organize, manipulate, and visualize hierarchical data with D3. You learned how to use d3.hierarchy() and d3.stratify() to convert nested and tabular data, respectively, into hierarchical structures for use by D3’s layout generators, and used its methods to select paths, extract nodes, and compute links.
Two tree-based visualizations were introduced in this chapter: tidy trees with d3.tree() and dendrograms (or clusters) with d3.cluster(). Both transform a hierarchical dataset by adding coordinates that make it easier to draw tree diagrams with line-connected shapes. The chapter also discussed adding interactive features to improve readability.
In the next chapter, you will use the d3-hierarchy module and the same datasets to create sunburst, flame, and icicle charts, as well as enclosures such as circle packs and treemaps.
Get This... |