Visualizing Flows and Networks
In the last chapter, you learned how to create visualizations of hierarchical data: unidirectional connected node networks. In this chapter, we will explore the visualization of other types of networks, which may contain disconnected nodes and sub-networks, allowing for directional flows as well as cycles.
A simple graph connecting lines to points can be drawn with basic D3 tools that you already learned how to use, but it's always much easier if a generator function calculates the coordinates for us. D3 provides several of those functions for popular network visualizations, revealing different aspects of connected graphs, with emphasis on either the nodes, links, or layout.
This chapter will describe the standard ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access