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

chart

slopegraph

also: slope chart

Two axes joined by segments showing change between two points.

graphique en pente

aussi : pente

Deux axes reliés par des segments montrant le changement entre deux dates.

Classification

Channels

Attestation and synonyms

Scientific literature

OpenAlex: 47 papers since 1994, 32% in the last five years; mostly in Computer Science, Engineering, Environmental Science

Seminal references

  • invention (1983) Tufte (1983). The Visual Display of Quantitative Information. Graphics Press; Tufte 2001

R packages

R code of the ggplot2 example

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

## Oceania, two countries only, is left out.
life <- gapminder |>
  filter(year %in% c(1952, 2007), continent != "Oceania") |>
  group_by(continent, year) |>
  summarise(lifeExp = mean(lifeExp), .groups = "drop")
start <- filter(life, year == 1952)
end <- filter(life, year == 2007)

## Names in the darker text colors of the continents, readable on white.
p <- ggplot(life, aes(x = factor(year), y = lifeExp, group = continent, colour = continent)) +
  geom_line(linewidth = 0.8) +
  geom_point(size = 2) +
  geom_text(data = start, aes(label = paste(continent, round(lifeExp))),
            colour = continent_text_colors[as.character(start$continent)],
            hjust = 1, nudge_x = -0.08, size = 3.2) +
  geom_text(data = end, aes(label = paste(round(lifeExp), continent)),
            colour = continent_text_colors[as.character(end$continent)],
            hjust = 0, nudge_x = 0.08, size = 3.2) +
  scale_x_discrete(position = "top", expand = expansion(add = 0.9)) +
  scale_y_continuous(NULL, breaks = NULL) +
  scale_colour_manual(values = continent_colors) +
  labs(title = "Asia gained the most life expectancy, Africa still trails",
       subtitle = "Life expectancy in years, mean over the countries of each continent",
       x = NULL,
       caption = "Data: Gapminder, via the gapminder R package") +
  theme_lex_viz(grid = "", arrows = "") +
  theme(legend.position = "none", axis.text.x = element_text(face = "bold"))

Sources (17)

115 occurrences in the corpus; indexed by 8 books

Show the 17 sources

Cite this entry

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

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

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