sankeyNetwork() renders an interactive Sankey diagram from node and link data. Nodes identify categories; links connect source nodes to target nodes and carry flow quantities. section 3.7
Prepare the visualization in four practical steps:
- Hover over nodes or links to highlight connections and inspect names and flow quantities. section 3.7
NBA draft flow
An NBA draft analysis links birthplace, college attendance, age, position, pick segment, and win-share category. Counts from adjacent groupings supply link values, while the resulting chart shows how quantities move through the serial process.
