Learn
Interactive·

Frequency Distributions & Histograms

Grouping a list of values into intervals reveals center, spread, and skew at a glance.

A list of 40 commute times is hard to scan for a typical value or unusually long trips. The human eye reads shape more easily than a long sequence of numbers.

A frequency distribution groups values into intervals and counts how many fall in each one. In a histogram, height represents frequency when bins have equal width; when widths differ, area must represent frequency.

Key question

How should continuous data be grouped into intervals so that the overall distribution becomes visible?

1

Concept

What does a frequency distribution do?

A frequency distribution divides the value range into intervals and counts observations

Commute-time intervalFrequencyRelative frequency
10–20 minutes512.5%
20–30 minutes922.5%
30–40 minutes820.0%
40–50 minutes717.5%
50 minutes or more1127.5%

Frequency is the number of observations. Relative frequency is the proportion of the full sample. Relative frequencies are more useful when comparing groups of different sizes.

2

Why It Matters

How is a histogram different from a bar chart?

A histogram represents continuous numeric intervals

A bar chart compares distinct categories, so gaps between bars are acceptable. A histogram's horizontal axis consists of consecutive numeric intervals, so the bars touch.

HistogramBar chart
Continuous numeric dataCategorical data
Order fixed by numeric scaleCategory order can often change
Bin boundaries and widths matterBar width usually has no data meaning

When bin widths differ

If interval widths are unequal, use frequency density on the vertical axis so that bar area—not height alone—represents frequency.

3

How It Works

Why do bin settings matter?

Bin count and boundaries can change the apparent shape

Too few bins can hide peaks and gaps. Too many can exaggerate random jaggedness. Even with the same number of bins, shifting the starting boundary can change the picture.

Practical rule

Do not trust a single automatic setting. Try several bin counts and starting points and look for features that persist.

4

Example

What should you read from a histogram?

Read center, spread, shape, and exceptions in sequence

  • Center: where are most observations concentrated?
  • Spread: how wide is the full distribution?
  • Shape: is it symmetric or skewed?
  • Peaks: is there one peak or evidence of multiple groups?
  • Exceptions: are there gaps or values separated from the main body?

Limitation

A histogram groups observations into bins, so individual values are hidden. Use the raw data or another plot to investigate exact values and potential outliers.

5

Interactive

Change the number of bins

Change the number of bins

Start with a small number of bins to see the broad outline, then increase the count to inspect finer structure. Notice when conclusions about peaks, skew, or extremes become unstable.

14
13
7
4
2
122945627895
Commute time (minutes)

What to notice

The same data can look different under different bin settings. Base your interpretation on features that remain visible across reasonable choices.

Key takeaways

  • A frequency distribution summarizes values by interval counts or proportions.
  • A histogram shows the distribution of continuous numeric data.
  • Bin count, width, and starting boundary can alter the visual impression.
  • Read center, spread, skew, peaks, and exceptions together.
Next: Correlation & Covariance