Start studying
Module 8 · Visualisation Module contents
Module 8  ·  Card 4 / 13beginner

Histograms

A histogram shows the distribution of one numeric column by counting how many values fall into each range, called a bin.

The bins sit side by side along the number line, and the height of each bar is the count in that bin.

For example, a histogram of delivery times might show most orders taking 20 to 40 minutes, with a long tail beyond.

The bin width changes the picture: too wide hides detail, and too narrow turns the shape into noise.

A histogram looks like a bar chart, but its bars are ranges of one number, not separate categories, so they touch.

Learn in depth ↓
Module 08 · Visualisation · 13 concepts
In depth  /  15 lines

Histograms, in more detail

Histograms show the shape of a numeric column, which a mean and standard deviation alone cannot.

Shape includes where values cluster, how far they spread, whether they lean one way, and whether there is more than one peak.

Building one means cutting the number line into bins of equal width and counting the values in each.

Most tools pick a bin width automatically, which is a starting point rather than an answer.

Trying 2 or 3 widths shows which features are real, because real patterns survive a change of width.

A long tail to the right is common for times, prices and incomes, and shows as bars that taper off slowly.

2 peaks often mean 2 different groups mixed together, such as weekday and weekend deliveries.

A spike at one value, such as 0 or 999, often points to a placeholder rather than a real measurement.

Regular spikes at round numbers, such as every 5 minutes, often show values typed by hand and rounded.

Histograms with different row counts are hard to compare, so they are often scaled to show shares rather than counts.

Overlaying 2 histograms works only when they are partly transparent, or one hides the other.

With few values a histogram can look lumpy by chance, so its shape should not be read too closely.

In practice a histogram is the first chart drawn for nearly every numeric column during exploration.

It quickly shows whether the mean is a fair summary or whether the median would be more honest.

The common misconception is that a histogram is a bar chart, when its bars are ranges of 1 number and their order is fixed.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
A histogram of delivery times with 30 minute bins shows one smooth hump. With 5 minute bins, 2 separate peaks appear. What does that suggest?
Visualisation

13 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close