🌍 Public
Viewing a saved revision (read-only)
8c472e6198b543649bed9e45de52228f
Fork of Pseudo Horizontal Bar Chart
This fork of a pseudo horizontal bar chart uses a Sankey diagram layout to display flow data from a JSON file. The visualization shows nodes as colored rectangles with labels, while links between them are rendered as curved paths with stroke widths proportional to flow magnitude. Built with D3 v4, it employs the `d3.sankey()` generator to compute node positions and link paths, with nodes made draggable via `d3.drag()` for interactive re-layout. The SVG rendering uses ordinal color scaling (`d3.scaleOrdinal`) and includes hover tooltips on nodes.
AI-generated description