How to make a histogram
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a number column for Value.
-
Check the columns
The histogram picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a histogram?
A histogram splits one numeric measure into equal-width bins and draws a bar for how many values fall in each, so the shape of the data becomes visible.
How to read it
Bar height is the count in each bin and the bars touch because the bins are continuous. Look first for where the tallest bars sit, then for skew, a long tail or a second peak.
When to use it
See the shape of one measure: where values bunch and how far they spread. It is one of the distribution charts, which show how values spread out, cluster and stray.
With fewer than about 20 values the bins are mostly empty, so show each value with a Strip plot instead. To compare the shape of several groups, use a Ridgeline or Violin plot.
Tips for a better histogram
- Try a few bin widths before settling, since too few bins hide a second peak and too many turn the shape into noise.
- Keep the count axis starting at zero so bar heights stay honest.
- Trim or flag extreme outliers separately, because one huge value stretches the axis and squeezes every other bar into a few bins.
Data you need
One row per item with a number column for Value. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Region | Load time (s) |
|---|---|
| Europe | 2.03 |
| Europe | 2.00 |
| Europe | 2.10 |
| Europe | 2.10 |
| Europe | 3.23 |
| Europe | 2.20 |
| Europe | 1.95 |
| Europe | 2.39 |
Other charts for the same data
More distribution charts
Questions, answered
- What is a histogram?
- A histogram splits one numeric measure into equal-width bins and draws a bar for how many values fall in each, so the shape of the data becomes visible.
- How do you read a histogram?
- Bar height is the count in each bin and the bars touch because the bins are continuous. Look first for where the tallest bars sit, then for skew, a long tail or a second peak.
- How do I make a histogram?
- Paste your data into the chart maker with a number column for Value. The histogram draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a histogram?
- See the shape of one measure: where values bunch and how far they spread. It belongs to the distribution family of charts, which show how values spread out, cluster and stray. With fewer than about 20 values the bins are mostly empty, so show each value with a Strip plot instead. To compare the shape of several groups, use a Ridgeline or Violin plot.
- Is this histogram maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the histogram as SVG or PNG.