Groups within groups / Nested treemap

Nested treemap

Use a nested treemap to show a two-level hierarchy by size: groups as bordered boxes, their members as tiles inside.

Pro · not released yet · Groups within groups · Not recommended for mobile

The US and China together make 43% of the world's GDP

Gross domestic product by country, 2024, current US dollars; boxed by continent

Each box is a continent and each tile a country, its area its GDP; faded tiles fold the economies under $100 billion together.

On phones: best on a wider screen (On a phone labels are hard to read or overlap (checked by eye)). Video formats: best kept to the page.

Motion: Continent boxes appear one by one, then their countries pour into them from the top, biggest first.

Sound: A soft pop on hover, pitched by continent. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.

Source: GDP (current US$), NY.GDP.MKTP.CD; continents from Our World in Data, World Bank World Development Indicators (CC BY 4.0), retrieved 2026-12-01. Shares are of the World Bank's world total; a few economies with no 2024 figure are missing, so the tiles add to 99%.

Data

Year: 2024 · World bn: 111,669

The US and China together make 43% of the world's GDP. Source: World Bank World Development Indicators, GDP (current US$), NY.GDP.MKTP.CD; continents from Our World in Data
CountryContinentUsd
United StatesNorth America29,298
ChinaAsia18,730
GermanyEurope4,686
JapanAsia4,190
IndiaAsia3,761
United KingdomEurope3,696
FranceEurope3,160
ItalyEurope2,383
CanadaNorth America2,270
RussiaEurope2,187
BrazilSouth America2,186
South KoreaAsia1,875
MexicoNorth America1,831
AustraliaOceania1,757
SpainEurope1,726
IndonesiaAsia1,396
TürkiyeAsia1,359
Saudi ArabiaAsia1,254
NetherlandsEurope1,214
SwitzerlandEurope970
PolandEurope918
BelgiumEurope671
ArgentinaSouth America638
IrelandEurope609
SwedenEurope605
SingaporeAsia573
United Arab EmiratesAsia552
IsraelAsia542
AustriaEurope535
ThailandAsia529
NorwayEurope501
VietnamAsia476
IranAsia475
PhilippinesAsia462
BangladeshAsia450
DenmarkEurope425
MalaysiaAsia422
ColombiaSouth America421
Hong KongAsia408
South AfricaAfrica401
EgyptAfrica389
RomaniaEurope383
PakistanAsia372
CzechiaEurope347
ChileSouth America329
PortugalEurope314
FinlandEurope299
PeruSouth America292
KazakhstanAsia292
IraqAsia280
AlgeriaAfrica269
New ZealandOceania262
GreeceEurope256
NigeriaAfrica252
HungaryEurope223
QatarAsia216
UkraineEurope191
KuwaitAsia161
MoroccoAfrica161
EthiopiaAfrica150
SlovakiaEurope141
Puerto Rico (US)North America126
Dominican RepublicNorth America124
EcuadorSouth America124
UzbekistanAsia121
VenezuelaSouth America121
KenyaAfrica120
BulgariaEurope113
GuatemalaNorth America113
OmanAsia107
AngolaAfrica103
22 smaller economiesAsia758
23 smaller economiesNorth America411
20 smaller economiesEurope825
44 smaller economiesAfrica1,056
5 smaller economiesSouth America211
14 smaller economiesOceania58