Skip to content

Box plot

The spread of each group in five numbers.

Definition · Updated Nov 2, 2026

A box plot sums up each group's values as a box for the middle half, a line for the median and whiskers for the range, with outliers as dots. Use it to compare the spread of response times, prices or scores across groups.

Pay once. Every update included.

Live preview

Latency spread by modelResponse latency over the last 7 days for 5 models: median from 200 ms (Vega) to 590 ms (Orion).1.2S9006003000ATLAS 3KITE 2ORIONVEGANOVAMIDDLE 50%MEDIANRANGE AND OUTLIERS
Latency spread by model
ModelMin (ms)Q1 (ms)Median (ms)Q3 (ms)Max (ms)Outliers (ms)
Atlas 3180260320410620760
Kite 2150210260330480
Orion32048059076010401150
Vega120170200240330420
Nova210300380520880

Sample data: response latency of five models, Atlas 3 to Nova, on a 0 to 1.2 s scale

Size
Legend
Data shape
Five numbers per group and its outliers
Good for
Latency by model, prices by store
Avoid when
The audience has not met box plots
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

043 / Box plot

chart/043-box-plot-latency
plot · box plot
Layer
box · atlas 3 · fill
Type
Rectangle
Size
72 × 29
Fill
data/primary
Radius
3
Group
Marks · 15

Layers

043 / Box plot

chart/043-box-plot-latency
plot · box plot
Layer
box · atlas 3 · fill
Type
Rectangle
Size
23 × 13
Fill
data/primary
Radius
3
Group
Marks · 15

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels1010

Marks1515

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Spread, group by group.

Three signs it fits, and three signs another type fits better.

Are several groups compared?

One group in full.

Yes: Keep the box plot

Is a summary enough?

The full shape per group.

Yes: Keep the box plot

Is it raw values, not estimates?

Estimates with intervals.

Yes: Keep the box plot

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/043-box-plot-latency

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendtrue · falsetrue
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/box-plot
box-plot.tsx
import { BoxPlot } from "@/components/chartory/box-plot"import { modelLatency } from "./model-latency"export function ModelLatency() {  return (    <BoxPlot      data={modelLatency}      size="m"      legend={true}    />  )}

Hearth widget

Box plot as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Code
Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Box plot questions.

What people ask before they put a box plot in a dashboard.

Something else?

hello@usechartory.com
  • The box holds the middle 50% of values, the line inside is the median, and the whiskers and dots show the range and outliers. The legend names all three.

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Distribution

17 types in Chartory answer this question.