Movement between stages / Sankey
Sankey
Use a Sankey to show how a total splits and merges across two or more stages, with each ribbon's width as its volume. Takes either the example's countries-by-source table or any process flow as { nodes?, links: [{ source, target, value }] }, with 2 to 5 stages found from the links.
Free (MIT) · Movement between stages · Adapts to mobile
Fossil fuels still made 59% of the world's electricity in 2024
Electricity generation by country and source, terawatt-hours, 2024
Ribbons run from each country to the sources it burns or harnesses, then on to fossil or low-carbon; width is terawatt-hours.
On phones: adapts to mobile with its own phone layout (Draws its own phone layout below 520px). Video formats: 16:9, best 16:9.
Motion: The ribbons pour in from left to right when the chart comes into view; the bars of each stage appear as the flow reaches them.
Sound: A pop pitched by source on hover. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.
Source: Energy dataset (electricity generation by source), Our World in Data (Ember, Energy Institute Statistical Review of World Energy) (CC BY 4.0), retrieved 2026-12-01. "Bioenergy and other" is OWID's other renewables including bioenergy; "Rest of world" is the world total minus the six countries shown.
Data
Year: 2024 · Unit: TWh · Sources: Coal, Gas and oil, Nuclear, Hydro, Wind and solar, Bioenergy and other · Low carbon: Nuclear, Hydro, Wind and solar, Bioenergy and other
| Country | Coal | Gas and oil | Nuclear | Hydro | Wind and solar | Bioenergy and other |
|---|---|---|---|---|---|---|
| China | 5,828 | 410 | 451 | 1,354 | 1,836 | 209 |
| United States | 652 | 1,900 | 782 | 237 | 756 | 63.9 |
| India | 1,518 | 60.5 | 54.7 | 157 | 225 | 22.3 |
| Russia | 215 | 560 | 216 | 211 | 7.5 | 0.8 |
| Japan | 327 | 371 | 84.9 | 79.5 | 108 | 45.4 |
| Brazil | 16.2 | 62.5 | 15.8 | 413 | 180 | 58.2 |
| Rest of world | 1,983 | 4,373 | 1,173 | 1,983 | 1,540 | 393 |