-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
This chapter covered how to build different types of network visualizations with D3, which can be created from datasets that contain relationships, such as links or references between entries. Network data is often organized as matrices or adjacency lists. In this chapter you learned how to represent such data using JavaScript arrays, process it using layout generators, and transform the results into visualizations that emphasize key aspects of the data.
Two D3 modules were introduced: d3-chord, which creates layouts for chord and ribbon visualizations, and d3-sankey, which generates Sankey diagrams. Chord diagrams are ideal for showing multidirectional flows and relationships, whereas Sankey diagrams are better suited to describe unidirectional processes that branch or join together. This chapter demonstrated how to create both types of visualizations through step-by-step examples using a simple dataset.
In addition to these standard D3 visualizations, you also learned...