Groups within groups / Icicle

Icicle

Use an icicle to show a hierarchy as stacked rectangles by level: each level is a column, each box as tall as its share; click to zoom.

Free (MIT) · Groups within groups · Not recommended for mobile

China alone makes a third of the world's electricity, most of it from coal

Electricity generation by continent, biggest countries and source, 2024, TWh

Read left to right from the world to continents, countries and sources; each box's height is its electricity. Tap a box to zoom into it.

On phones: best on a wider screen (On a phone the chart isn't the main thing on screen (checked by eye)). Video formats: 16:9, best 9:16.

Motion: Columns slide in from the left one level at a time; zooming stretches the chosen box to the full height.

Sound: A whoosh on each zoom; a pop on hover pitched by source. 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); continents from Our World in Data, Our World in Data (Ember, Energy Institute Statistical Review of World Energy) (CC BY 4.0), retrieved 2026-12-01. Each continent shows its four biggest producers; the rest of the continent is one box. The world is the sum of the six continents.

Data

Year: 2024

China alone makes a third of the world's electricity, most of it from coal. Source: Our World in Data (Ember, Energy Institute Statistical Review of World Energy), Energy dataset (electricity generation by source); continents from Our World in Data
GroupNameMix coalMix gasMix hydroMix nuclearMix wind and solarMix other
Asia
AsiaChina5,8283211,3544511,836297
AsiaIndia1,51856.415754.722526.3
AsiaJapan32734679.584.910870.4
AsiaSouth Korea1911784.318936.127.1
AsiaRest of Asia1,0051,97847985.6243460
North America
North AmericaUnited States6521,87023778275694.4
North AmericaCanada25.111034385.556.317.1
North AmericaMexico12.422223.512.345.539.8
North AmericaDominican Republic7.271.502.95.5
North AmericaRest of North America6.223.229.201058.2
Europe
EuropeRussia2155462112167.514.6
EuropeFrance118.171.138170.320.8
EuropeGermany10678.423.8021671.7
EuropeUnited Kingdom1.986.35.840.698.151.5
EuropeRest of Europe206373500309538174
South America
South AmericaBrazil16.248.841315.818072
South AmericaArgentina1.38229.710.520.19
South AmericaColombia11.219.848.903.65.7
South AmericaChile13.612.726030.65.8
South AmericaRest of South America036.417901019
Africa
AfricaSouth Africa20701.17.829.42.4
AfricaEgypt019314.4012.217.8
AfricaAlgeria0950010.3
AfricaMorocco26.24.30.809.51.6
AfricaRest of Africa12.2116149011.949.1
Oceania
OceaniaAustralia12749.112.90839.4
OceaniaNew Zealand1.24.323.504.710.4
OceaniaPapua New Guinea00.91002.8
OceaniaNew Caledonia1.100.500.31.1
OceaniaRest of Oceania0.100.800.33.3