Skip to content

Histogram

How values spread across ranges.

Definition · Updated Nov 2, 2026

A histogram sorts many values into bins and counts each bin, so the spread shows: where most values sit and how long the tail is. Use it for response times, order sizes and any measure with thousands of values.

Pay once. Every update included.

Live preview

Response latency distribution96,224 requests in 25 ms latency bins from 0 to 900 ms; p50 is 250 ms, p95 is 475 ms.15K10K5K0P50 250 MSP95 475 MS0225 MS450 MS900 MSWITHIN P95TAIL ABOVE P95
Response latency distribution
LatencyRequests
0–25 ms60
25–50 ms60
50–75 ms297
75–100 ms1,845
100–125 ms4,755
125–150 ms7,829
150–175 ms9,963
175–200 ms10,800
200–225 ms10,537
225–250 ms9,569
250–275 ms8,264
275–300 ms6,884
300–325 ms5,588
325–350 ms4,451
350–375 ms3,497
375–400 ms2,720
400–425 ms2,100
425–450 ms1,614
450–475 ms1,236
475–500 ms944
500–525 ms721
525–550 ms550
550–575 ms420
575–600 ms321
600–625 ms245
625–650 ms188
650–675 ms144
675–700 ms111
700–725 ms85
725–750 ms66
750–775 ms60
775–800 ms60
800–825 ms60
825–850 ms60
850–875 ms60
875–900 ms60

Sample data: response times from 0 to 900 ms, P50 250 ms, P95 475 ms

Size
Legend
Data shape
Already-binned counts, P50 and P95 marks
Good for
Response times, order sizes, scores
Avoid when
There are only a few values
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

006 / Histogram

chart/006-histogram
plot · histogram
Layer
bin 20
Type
Rectangle
Size
16 × 15
Fill
data/seq-2
Group
Marks · 38

Layers

006 / Histogram

chart/006-histogram
plot · histogram
Layer
bin 01
Type
Rectangle
Size
4 × 0
Fill
data/primary
Group
Marks · 38

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

Labels1011

Marks3838

Height212 px246 px

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

When to use

Where values pile up.

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

Is it one group?

Several groups compared.

Yes: Keep the histogram

Does the full shape matter?

A summary is enough.

Yes: Keep the histogram

Is it one moment?

Values spread over time.

Yes: Keep the histogram

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/006-histogram

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/histogram
histogram.tsx
import { Histogram } from "@/components/chartory/histogram"import { responseTimes } from "./response-times"export function ResponseTimes() {  return (    <Histogram      data={responseTimes}      size="m"      legend={true}    />  )}

Hearth widget

Histogram 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

Histogram questions.

What people ask before they put a histogram in a dashboard.

Something else?

hello@usechartory.com
  • The median and the 95th percentile (P50 250 ms, P95 475 ms), so the typical value and the slow tail have numbers.

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.