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

Fossil fuels still made 59% of the world's electricity in 2024. Source: Our World in Data (Ember, Energy Institute Statistical Review of World Energy), Energy dataset (electricity generation by source)
CountryCoalGas and oilNuclearHydroWind and solarBioenergy and other
China5,8284104511,3541,836209
United States6521,90078223775663.9
India1,51860.554.715722522.3
Russia2155602162117.50.8
Japan32737184.979.510845.4
Brazil16.262.515.841318058.2
Rest of world1,9834,3731,1731,9831,540393