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
| Name | Months Jan | Months Feb | Months Mar | Months Apr | Months May | Months Jun | Months Jul | Months Aug | Months Sep | Months Oct | Months Nov | Months Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Reykjavik | −0.3 | −1.6 | 1.1 | 2.5 | 6.6 | 8.3 | 10.8 | 9.6 | 6.6 | 2.9 | 1.3 | −1 |
| Moscow | −12.1 | −6.5 | −2 | 9.7 | 11.8 | 19.8 | 21.9 | 18.5 | 16.8 | 7.1 | 0.8 | −2.8 |
| Tokyo | 5.4 | 6.7 | 8.1 | 15.8 | 19 | 22.4 | 28.3 | 28.9 | 26 | 19.9 | 12.6 | 6.9 |
| London | 5 | 8.4 | 8.5 | 10.1 | 14 | 15.5 | 17.5 | 18.6 | 15 | 12.1 | 8.2 | 7.6 |
| Paris | 3.9 | 8.7 | 9 | 11.1 | 14.4 | 16.5 | 19.8 | 20.5 | 15.6 | 13.3 | 8.3 | 6 |
| Beijing | −3 | −0.2 | 7.7 | 16.4 | 21.7 | 27.5 | 27.4 | 26 | 20.9 | 12.8 | 7.5 | 0 |
| Toronto | −1.9 | 0 | 3.3 | 7.8 | 14.9 | 19.1 | 21.9 | 20.9 | 18.4 | 12 | 6.9 | −0.3 |
| New York | 1.2 | 2.1 | 7 | 10.7 | 17.1 | 23.2 | 25.7 | 23.2 | 19.5 | 14.9 | 9.9 | 1.7 |
| Mexico City | 15 | 16.4 | 19.5 | 20.5 | 23.1 | 20.4 | 17.1 | 17 | 17 | 15 | 16.8 | 15.3 |
| Cape Town | 22 | 21.3 | 19.8 | 17 | 15.6 | 14.4 | 12 | 12.1 | 13.6 | 17.6 | 18.5 | 19.7 |
| Sydney | 23.1 | 22.8 | 21.2 | 17.6 | 14.6 | 11.5 | 11.8 | 14.4 | 16.3 | 17 | 21.1 | 22.7 |
| Lima | 23 | 24.4 | 23 | 21.3 | 17.9 | 16.1 | 15.6 | 15.3 | 15.9 | 17 | 18.8 | 20.1 |
| Nairobi | 19.8 | 21.2 | 21.3 | 19.9 | 19.4 | 18 | 17.6 | 17.7 | 19 | 20.2 | 19.2 | 19.8 |
| São Paulo | 22.2 | 22.3 | 22 | 21.1 | 20.3 | 18.2 | 16.2 | 17 | 21.8 | 20 | 21.2 | 22.2 |
| Lagos | 27.9 | 28.5 | 29.2 | 29.5 | 28.7 | 26.7 | 25.8 | 25.6 | 25.8 | 26.2 | 27.6 | 28.1 |
| Mumbai | 24.5 | 25.5 | 26.7 | 29.5 | 30.5 | 28.4 | 26.8 | 26.9 | 26.4 | 27.3 | 27.5 | 25.6 |
| Singapore | 25.6 | 26.7 | 27.4 | 27.2 | 27.5 | 26.9 | 27.5 | 26.7 | 26.9 | 26.7 | 25.9 | 26.5 |
| Dubai | 21.2 | 20.8 | 22.3 | 25.4 | 30.5 | 34.1 | 35.6 | 35.5 | 33 | 31 | 26.8 | 22.1 |
| Cairo | 15 | 15.8 | 19.1 | 24.1 | 27.2 | 32.5 | 32.8 | 32.1 | 29.9 | 24.9 | 20.3 | 16.5 |
| Delhi | 10.8 | 15.9 | 21.9 | 29.4 | 34.5 | 34.9 | 30.3 | 28.1 | 27.3 | 26.4 | 22.3 | 15.5 |