Visualization VocabularyDataviz vocabulary
Diagram: dendrogram
Drawing: Adrien Taudière (CC0)
ggplot2 example: dendrogram
Adrien Taudière (CC0); R code ↓; data: gapminder (Bryan 2025) (CC BY 4.0)

chart

dendrogram

also: tree diagram

Tree showing a hierarchical classification.

dendrogramme

aussi : arbre

Arbre représentant une classification hiérarchique.

Classification

  • chart
  • networks and trees › binary trees
  • the name evokes: nature

Channels

Variants

Attestation

Scientific literature

OpenAlex: 21 165 papers since 1963, 22% in the last five years; mostly in Biochemistry, Genetics and Molecular Biology, Agricultural and Biological Sciences, Medicine; Wikidata

Seminal references

R packages

R code of the ggplot2 example

library(ggplot2)
library(dplyr)
library(tidyr)
library(gapminder)
library(ggdendro)

## One row per country, one column per year of life expectancy.
europe <- gapminder |>
  filter(continent == "Europe") |>
  select(country, year, lifeExp) |>
  pivot_wider(names_from = year, values_from = lifeExp)
trajectories <- as.matrix(europe[, -1])
rownames(trajectories) <- europe$country

tree <- dendro_data(hclust(dist(trajectories), method = "ward.D2"))

p <- ggplot() +
  geom_segment(data = segment(tree), aes(x = y, y = x, xend = yend, yend = xend),
               colour = "#535353", linewidth = 0.4) +
  geom_text(data = label(tree), aes(x = -1, y = x, label = label), hjust = 1, size = 2.2) +
  scale_x_continuous(labels = lex_number, breaks = \(l) scales::breaks_extended()(c(0, l[2])),
                     expand = expansion(mult = c(0.3, 0.02))) +
  scale_y_continuous(NULL, breaks = NULL, expand = expansion(add = 0.8)) +
  labs(title = "Portugal and Turkey cluster with Eastern Europe\nin how their life expectancy changed",
       subtitle = "Countries clustered by their life expectancy from 1952 to 2007",
       x = "Dissimilarity (Ward's method)",
       caption = "Data: Gapminder, via the gapminder R package") +
  theme_lex_viz(base_size = 8, grid = "x", arrows = "")

Sources (49)

297 occurrences in the corpus; indexed by 5 books

Show the 49 sources

Cite this entry

Stable addresshttps://dataviz.adrientaudiere.com/en/term/dendrogram.html

ReferenceTaudière Adrien. 2026. dendrogram. In Visualization Vocabulary, version 1.0.0. IdEst. https://dataviz.adrientaudiere.com/en/term/dendrogram.html

BibTeX
@incollection{taudiere2026-dendrogram,
  author    = {Taudière, Adrien},
  title     = {dendrogram},
  booktitle = {Visualization Vocabulary},
  year      = {2026},
  version   = {1.0.0},
  publisher = {IdEst},
  url       = {https://dataviz.adrientaudiere.com/en/term/dendrogram.html},
  note      = {CC0 1.0}
}

Page created on 2026-10-13. Text last changed on 2026-11-12. Images last changed on 2026-11-12. Numbers computed on 2026-10-22.