D3 Sankey
✓ Published0🌍 Public
This example demonstrates a basic D3.js Sankey diagram using the v3 API, mapping flows between nodes as proportional ribbons. It renders an energy or material flow visualization using the `d3.sankey` layout, with `d3.svg.arc` and linear gradients for smooth link transitions. The code initializes the Sankey plugin and binds data via `d3.json`, though the HTML file currently contains only placeholder text, leaving the diagram unexecuted. Built with the React framework, it relies on D3’s selection and layout methods to generate the static network graph.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed