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

Classification

Channels

Variants

Attestation

Scientific literature

OpenAlex: 39 141 papers since 1948, 71% in the last five years; mostly in Computer Science, Medicine, Biochemistry, Genetics and Molecular Biology; Wikidata

Seminal references

R packages

R code of the ggplot2 example

library(ggplot2)
library(dplyr)
library(gapminder)

americas <- gapminder |>
  filter(continent == "Americas") |>
  group_by(country) |>
  filter(pop[year == max(year)] >= 9e6) |>
  mutate(last = lifeExp[year == max(year)]) |>
  ungroup() |>
  mutate(country = reorder(country, last))

p <- ggplot(americas, aes(x = year, y = country, fill = lifeExp)) +
  geom_tile(colour = "white", linewidth = 0.3) +
  scale_x_continuous(breaks = seq(1952, 2007, 10), expand = c(0, 0)) +
  scale_fill_continuous(labels = lex_number) +
  labs(title = "Life expectancy rose everywhere; Bolivia stayed last",
       subtitle = "The 14 countries of the Americas with over 9 million people in 2007, sorted by life expectancy in 2007",
       x = NULL, y = NULL, fill = "Life expectancy (years)",
       caption = "Data: Gapminder, via the gapminder R package") +
  theme_lex_viz(base_size = 8, grid = "", arrows = "x")

Sources (49)

384 occurrences in the corpus; indexed by 17 books

Show the 49 sources

Cite this entry

Stable addresshttps://dataviz.adrientaudiere.com/en-only/term/heatmap.html

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

BibTeX
@incollection{taudiere2026-heatmap,
  author    = {Taudière, Adrien},
  title     = {heatmap},
  booktitle = {Visualization Vocabulary},
  year      = {2026},
  version   = {1.0.0},
  publisher = {IdEst},
  url       = {https://dataviz.adrientaudiere.com/en-only/term/heatmap.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.