Histograms &
Boxplots
Learn to interpret distributions using two of the most powerful tools in descriptive statistics: histograms for shape and boxplots for summary.
What Is a Histogram?
A histogram is a bar chart that displays the frequency (or relative frequency) of numerical data grouped into bins (equal-width intervals). Unlike a bar chart for categories, histogram bars touch because the data is continuous.
What Is a Boxplot?
A boxplot (box-and-whisker plot) summarizes data using five key numbers. It shows the spread, center, and skewness of a dataset at a glance.
The Five-Number Summary
Every boxplot is built from exactly five values. Together they capture the spread and center of a dataset.
Reading Histogram Shape
How Boxplots Show Skewness
A boxplot reveals skewness through the position of the median line inside the box and the relative whisker lengths.
Histogram vs Boxplot
| Histogram | Boxplot | |
|---|---|---|
| Shows shape | ✓ Detailed | Approximate |
| Shows center | Visual estimate | ✓ Exact median |
| Shows spread | Range visible | ✓ IQR + range |
| Shows outliers | Not clearly | ✓ As isolated points |
| Compares groups | Hard (overlap) | ✓ Side-by-side |
| Shows bimodality | ✓ Two peaks | ✕ Hidden |
Detecting Outliers with Boxplots
A data point is an outlier if it falls more than \(1.5 \times \text{IQR}\) beyond the quartiles:
How to Interpret a Histogram
How to Interpret a Boxplot
Example 1: Reading a Histogram
A class of 30 students recorded how many hours they studied last week. Describe the distribution.
Example 2: Reading a Boxplot
The boxplot below shows daily commute times (in minutes) for 50 employees. Interpret the display.
Example 3: Comparing Two Groups
Side-by-side boxplots compare exam scores between two classes. Which class performed better?
Common Mistakes
Summary Reference
| Feature | Histogram | Boxplot |
|---|---|---|
| Data type | Quantitative (continuous) | Quantitative (continuous) |
| Key display | Frequency per bin | Five-number summary |
| Best for | Shape, modes, gaps | Center, spread, outliers |
| Shows skew | Tail direction | Median position + whiskers |
| Shows outliers | Hard to identify | \(1.5 \times \text{IQR}\) rule |
| Comparing groups | Separate plots needed | Side-by-side |
Question 1 of 5
A histogram of household incomes is right-skewed. Which of the following is most likely true?
Question 2 of 5
A boxplot has \(Q_1 = 30\), \(Q_3 = 50\). What is the upper fence for outlier detection?
Question 3 of 5
In a boxplot, the box (from \(Q_1\) to \(Q_3\)) always contains what percentage of the data?
Question 4 of 5
A histogram has two distinct peaks of similar height. This distribution is best described as:
Question 5 of 5
Two side-by-side boxplots show Group A with a wider box than Group B. Both have the same median. What can you conclude?