graphique
graphique en haricots
Densité en miroir où chaque observation est un court trait, et la moyenne du groupe un trait plus long.
bean plot
also: beanplotMirrored density in which each observation is a short line, and the group mean a longer one.
Proposé par Kampstra (2008) comme alternative à la boîte à moustaches ; forme française non attestée.
Classification
- graphique
- boîtes et densités › formes de densité
- distribution
- le nom évoque : nourriture
Attestation
- terme français : Usage courant, non attesté par une source
- définition anglaise : Kampstra, Beanplot: A Boxplot Alternative for Visual Comparison of Distributions, Journal of Statistical Software, 2008↗
Littérature scientifique
OpenAlex : 157 articles depuis 1961, dont 13 % ces cinq dernières années; surtout en Agricultural and Biological Sciences, Computer Science, Environmental Science
Références séminales
Paquets R
Code R de l'exemple ggplot2
library(ggplot2)
library(dplyr)
library(palmerpenguins)
birds <- penguins |>
filter(!is.na(bill_depth_mm)) |>
mutate(position = as.integer(species))
means <- birds |>
group_by(species, position) |>
summarise(depth = mean(bill_depth_mm), .groups = "drop")
## The bean: a mirrored density; inside, a short line per penguin and a long
## one for the mean.
p <- ggplot(birds, aes(x = species, y = bill_depth_mm, fill = species)) +
geom_violin(colour = NA, alpha = 0.25) +
geom_segment(aes(x = position - 0.08, xend = position + 0.08, yend = bill_depth_mm, colour = species),
linewidth = 0.3, alpha = 0.6) +
geom_segment(data = means, aes(x = position - 0.3, xend = position + 0.3, y = depth, yend = depth),
colour = "black", linewidth = 0.7, inherit.aes = FALSE) +
scale_y_continuous(labels = lex_number, breaks = lex_break_breaks, expand = lex_break_expand) +
labs(title = "Gentoo penguins have the shallowest bills",
subtitle = "Short lines: one penguin each; long black line: the mean",
x = NULL, y = "Bill depth (mm)",
caption = "Data: palmerpenguins (Horst, Hill & Gorman 2020)") +
theme_lex_viz(grid = "y", arrows = "y", break_not_zero = "y") +
theme(legend.position = "none")Sources (4)
1 occurrence dans le corpus
Citer cette fiche
Adresse stablehttps://dataviz.adrientaudiere.com/terme/bean-plot.html
RéférenceTaudière Adrien. 2026. graphique en haricots. Dans Visualization Vocabulary, version 1.0.0. IdEst. https://dataviz.adrientaudiere.com/terme/bean-plot.html
BibTeX
@incollection{taudiere2026-bean-plot,
author = {Taudière, Adrien},
title = {graphique en haricots},
booktitle = {Visualization Vocabulary},
year = {2026},
version = {1.0.0},
publisher = {IdEst},
url = {https://dataviz.adrientaudiere.com/terme/bean-plot.html},
note = {CC0 1.0}
}Fiche créée le 13/10/2026. Texte modifié le 06/11/2026. Images modifiées le 09/11/2026. Chiffres calculés le 22/10/2026.