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