Distribution

Show how a numeric variable spreads, alone or across groups.

Use these charts to answer “how are the values spread?”: centre, spread, skew, modes, and outliers. Histograms and density curves describe a single variable; boxplots, strip plots, and ridgelines compare that spread across groups. Summaries hide as much as they show, so keep raw points visible behind boxplots when the sample is small, and order groups by their median rather than alphabetically. Every example ships its full source: click View source to copy it.

Back to top