Ctrl+k

Construct box-and-whisker plots

Constructing a box-and-whisker plot represents an ordered data set with its five-number summary: minimum, lower quartile, median, upper quartile, and maximum, using the median of the lower and upper halves to determine quartiles. The plot shows how data are distributed, including the middle 50% through the interquartile range, and supports comparisons of center and spread; the box edges are quartiles, not averages, and advanced variants, formal inference, and alternative quartile conventions are not included.

Detailed Explanation: Construct box-and-whisker plots

A box-and-whisker plot shows the five-number summary of a data set:

  • minimum
  • lower quartile, Q1Q_1
  • median
  • upper quartile, Q3Q_3
  • maximum

The box represents the middle 50%50\% of the data. The whiskers extend to the minimum and maximum.

Example

Construct a box-and-whisker plot for this data set:

3, 5, 6, 7, 8, 10, 12, 13, 15, 16, 203,\ 5,\ 6,\ 7,\ 8,\ 10,\ 12,\ 13,\ 15,\ 16,\ 20

Step 1: Make sure the data are in order

The data are already arranged from least to greatest.

Step 2: Find the median

There are 1111 values, so the median is the middle value:

3, 5, 6, 7, 8, 10, 12, 13, 15, 16, 203,\ 5,\ 6,\ 7,\ 8,\ \boxed{10},\ 12,\ 13,\ 15,\ 16,\ 20

Thus, the median is 1010.

Step 3: Find the lower quartile

Use the values below the median:

3, 5, 6, 7, 83,\ 5,\ 6,\ 7,\ 8

The middle value is 66, so:

Q1=6Q_1=6

Step 4: Find the upper quartile

Use the values above the median:

12, 13, 15, 16, 2012,\ 13,\ 15,\ 16,\ 20

The middle value is 1515, so:

Q3=15Q_3=15

Do not include the median in either half.

Step 5: Identify the five-number summary

Minimum=3Q1=6Median=10Q3=15Maximum=20\begin{aligned} \text{Minimum} &=3\\ Q_1&=6\\ \text{Median}&=10\\ Q_3&=15\\ \text{Maximum}&=20 \end{aligned}

Step 6: Draw the plot

Mark the five values on a number line. Draw:

  • a box from Q1=6Q_1=6 to Q3=15Q_3=15,
  • a line inside the box at the median, 1010,
  • whiskers from the box to the minimum, 33, and maximum, 2020.
3          6          10          15          20
|----------[-----------|-----------]-----------|
minimum   Q₁        median        Q₃        maximum

The box, from 66 to 1515, shows the middle half of the data. The box edges are quartiles, not averages.

Learn by doing: Construct box-and-whisker plots

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Statistics - Quartiles - Data Set (No Outliers) to Box Plot


    ?