🌍 Public
Viewing a saved revision (read-only)
e6e0649ebf4f43f4b96664af9a6fddbd
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