Dendrogram

Pro

Clustering joins or a plain tree diagram, with a cut line for groups.

Cities by temperature profile

Average linkage on twelve monthly means. Distance in degrees.

SingaporeBangkokLagosAthensMadridCairoLondonParisBerlinMoscowReykjavik

London and Paris are the closest pair at 1.4 degrees, Reykjavik is the last city to join anything, and cutting at 12 degrees leaves four groups. The position of each join along the axis is the distance at which those two branches merged, so branches that join further from the leaves are less alike. Left and right arrows move between siblings, down goes into a branch and up comes back out. The full tree follows as a table.

Eleven cities clustered by their monthly mean temperature profile
LeafPathJoins its sibling at
Singaporewarm / tropical / equator3.1
Bangkokwarm / tropical / equator3.1
Lagoswarm / tropical5.4
Athenswarm / mediterranean / northmed2.6
Madridwarm / mediterranean / northmed2.6
Cairowarm / mediterranean6.2
Londoncool / continental / maritime / channel1.4
Pariscool / continental / maritime / channel1.4
Berlincool / continental / maritime3.8
Moscowcool / continental11.7
Reykjavikcool15.9
Cut at

Cutting the tree is how it turns into an answer: at 12 degrees it falls into 4 groups. How many clusters there are is a line across the chart, not a number you pick first.

This component installs from the private registry, which opens with Pro. The command and the one-time setup are shown here once your licence key is in this browser.

6 sections, and every other premium component

The preview above is the real Dendrogram, running. One purchase opens the sections above on this page and on every other component in the library.