Groups within groups / Dendrogram

Dendrogram

Use a dendrogram to show a cluster tree: which items are most alike, in what order groups merge, and how far apart they are when they do.

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

Climate twins: London pairs with Paris, Mumbai with Singapore, Sydney with Cape Town

20 cities clustered by their monthly mean temperatures in 2024; branch depth is the average gap between groups, °C

Cities joined by a short branch on the right have similar years; the further left two branches meet, the more their climates differ.

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

Motion: Branches grow from the cities back towards the root, in the order the clustering merged them.

Sound: A pop on hover, warmer cities higher. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.

Source: Historical Weather API: daily mean 2 m temperature, 2024 (ERA5 reanalysis), Open-Meteo (Copernicus Climate Change Service ERA5) (CC BY 4.0), retrieved 2026-12-01. Distance is the Euclidean distance between two cities' 12 monthly means; groups merge by average linkage. Sydney's and Cape Town's seasons are flipped, so they pair with each other rather than with northern cities of a similar average.

Data

Height: 50.9

Climate twins: London pairs with Paris, Mumbai with Singapore, Sydney with Cape Town. Source: Open-Meteo (Copernicus Climate Change Service ERA5), Historical Weather API: daily mean 2 m temperature, 2024 (ERA5 reanalysis)
NameMonths JanMonths FebMonths MarMonths AprMonths MayMonths JunMonths JulMonths AugMonths SepMonths OctMonths NovMonths Dec
Reykjavik−0.3−1.61.12.56.68.310.89.66.62.91.3−1
Moscow−12.1−6.5−29.711.819.821.918.516.87.10.8−2.8
Tokyo5.46.78.115.81922.428.328.92619.912.66.9
London58.48.510.11415.517.518.61512.18.27.6
Paris3.98.7911.114.416.519.820.515.613.38.36
Beijing−3−0.27.716.421.727.527.42620.912.87.50
Toronto−1.903.37.814.919.121.920.918.4126.9−0.3
New York1.22.1710.717.123.225.723.219.514.99.91.7
Mexico City1516.419.520.523.120.417.117171516.815.3
Cape Town2221.319.81715.614.41212.113.617.618.519.7
Sydney23.122.821.217.614.611.511.814.416.31721.122.7
Lima2324.42321.317.916.115.615.315.91718.820.1
Nairobi19.821.221.319.919.41817.617.71920.219.219.8
São Paulo22.222.32221.120.318.216.21721.82021.222.2
Lagos27.928.529.229.528.726.725.825.625.826.227.628.1
Mumbai24.525.526.729.530.528.426.826.926.427.327.525.6
Singapore25.626.727.427.227.526.927.526.726.926.725.926.5
Dubai21.220.822.325.430.534.135.635.5333126.822.1
Cairo1515.819.124.127.232.532.832.129.924.920.316.5
Delhi10.815.921.929.434.534.930.328.127.326.422.315.5