Skip to main content
100%

small scale sankey

✓ Published0🌍 Public
Ssp212
Last edited Aug 23, 2023
Created on Aug 23, 2023
Forked from Sankey Diagram

This small-scale Sankey diagram visualizes the flow of values between five nodes, with links weighted by a value of 2 or 4. The diagram uses the `d3.sankey` library to calculate node and link positions, rendering the network as SVG paths and rectangles. Node color is assigned via `scaleOrdinal` with `schemeCategory10`. The data in `data.json` defines the node names and link source-target pairs. The interactive chart includes a color legend constructed from the nodes' domain, and supports zooming and panning via `d3.zoom`.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.

MIT Licensed

Similar vizzes