Skip to main content
100%

SANKEY Experiment

✓ Published0🌍 Public
KKatiRG
Last edited Dec 5, 2015
Created on Dec 3, 2015

This Sankey diagram visualizes global CO2 emissions flows from energy sources like coal, oil, and gas to continents and then to specific countries, with link widths proportional to emission values in Mt CO2. The colored nodes group geographic regions and highlight country-level detail. After d3.sankey computes the initial layout, a custom manualLayout function overrides the y-position of selected nodes using a predefined array. The visualization uses D3 v3 with SVG rendering, reading data from an external emissions.json file, and implements drag-and-drop node interaction.

AI-generated description

Sets y-position of selected nodes according to a defined array after sankey.js has calculated their position.

Similar vizzes