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
| Group | Name | Mix coal | Mix gas | Mix hydro | Mix nuclear | Mix wind and solar | Mix other |
|---|---|---|---|---|---|---|---|
| Asia | |||||||
| Asia | China | 5,828 | 321 | 1,354 | 451 | 1,836 | 297 |
| Asia | India | 1,518 | 56.4 | 157 | 54.7 | 225 | 26.3 |
| Asia | Japan | 327 | 346 | 79.5 | 84.9 | 108 | 70.4 |
| Asia | South Korea | 191 | 178 | 4.3 | 189 | 36.1 | 27.1 |
| Asia | Rest of Asia | 1,005 | 1,978 | 479 | 85.6 | 243 | 460 |
| North America | |||||||
| North America | United States | 652 | 1,870 | 237 | 782 | 756 | 94.4 |
| North America | Canada | 25.1 | 110 | 343 | 85.5 | 56.3 | 17.1 |
| North America | Mexico | 12.4 | 222 | 23.5 | 12.3 | 45.5 | 39.8 |
| North America | Dominican Republic | 7.2 | 7 | 1.5 | 0 | 2.9 | 5.5 |
| North America | Rest of North America | 6.2 | 23.2 | 29.2 | 0 | 10 | 58.2 |
| Europe | |||||||
| Europe | Russia | 215 | 546 | 211 | 216 | 7.5 | 14.6 |
| Europe | France | 1 | 18.1 | 71.1 | 381 | 70.3 | 20.8 |
| Europe | Germany | 106 | 78.4 | 23.8 | 0 | 216 | 71.7 |
| Europe | United Kingdom | 1.9 | 86.3 | 5.8 | 40.6 | 98.1 | 51.5 |
| Europe | Rest of Europe | 206 | 373 | 500 | 309 | 538 | 174 |
| South America | |||||||
| South America | Brazil | 16.2 | 48.8 | 413 | 15.8 | 180 | 72 |
| South America | Argentina | 1.3 | 82 | 29.7 | 10.5 | 20.1 | 9 |
| South America | Colombia | 11.2 | 19.8 | 48.9 | 0 | 3.6 | 5.7 |
| South America | Chile | 13.6 | 12.7 | 26 | 0 | 30.6 | 5.8 |
| South America | Rest of South America | 0 | 36.4 | 179 | 0 | 10 | 19 |
| Africa | |||||||
| Africa | South Africa | 207 | 0 | 1.1 | 7.8 | 29.4 | 2.4 |
| Africa | Egypt | 0 | 193 | 14.4 | 0 | 12.2 | 17.8 |
| Africa | Algeria | 0 | 95 | 0 | 0 | 1 | 0.3 |
| Africa | Morocco | 26.2 | 4.3 | 0.8 | 0 | 9.5 | 1.6 |
| Africa | Rest of Africa | 12.2 | 116 | 149 | 0 | 11.9 | 49.1 |
| Oceania | |||||||
| Oceania | Australia | 127 | 49.1 | 12.9 | 0 | 83 | 9.4 |
| Oceania | New Zealand | 1.2 | 4.3 | 23.5 | 0 | 4.7 | 10.4 |
| Oceania | Papua New Guinea | 0 | 0.9 | 1 | 0 | 0 | 2.8 |
| Oceania | New Caledonia | 1.1 | 0 | 0.5 | 0 | 0.3 | 1.1 |
| Oceania | Rest of Oceania | 0.1 | 0 | 0.8 | 0 | 0.3 | 3.3 |