INFINITE UPSIDE

Learning and career workflows

Construct a box plot from a five-number summary

Correct labels need correct positions on the same scale.

Build a box plot by putting a stated five-number summary on a consistently scaled axis: minimum, first quartile, median, third quartile and maximum. The box spans the two quartiles, a mark inside it locates the median, and the whiskers in this exercise extend to the minimum and maximum.

OpenStax Introductory Statistics 2e, section 2.4 describes this five-value display and explains that other box-plot styles mark outliers separately. The data and placements below are original fictional practice, not observations or a population estimate.

Fix the data and the quartile rule

The complete exercise dataset has eight equally weighted values, already checked and ordered: 2, 4, 5, 7, 9, 10, 12, 17. They are abstract scores on the same scale, not results from a real group. The task specifies the median-of-halves convention: with eight values, find the median of the lower four for Q1 and of the upper four for Q3. For each even-sized half, average its two middle values.

The minimum is 2 and the maximum is 17. The two middle values of the full set are 7 and 9, so the median is (7 + 9) / 2 = 8. The lower half is 2, 4, 5, 7; its middle values are 4 and 5, giving Q1 = 4.5. The upper half is 9, 10, 12, 17; its middle values are 10 and 12, giving Q3 = 11.

The interquartile range is Q3 − Q1 = 11 − 4.5 = 6.5. The full range is 17 − 2 = 15. These are different spans: the IQR measures the width between the chosen quartile boundaries; the full range uses the two endpoints.

Five-number record and positions on the specified axis
Plot featureValuePosition from the zero markRole in the drawing
Minimum22 cmLeft whisker endpoint
Q14.54.5 cmLeft box edge
Median88 cmMark inside box
Q31111 cmRight box edge
Maximum1717 cmRight whisker endpoint

Place the values on one scaled axis

On a 0–20 axis, the original plot has minimum 2, Q1 4.5, median 8, Q3 11 and maximum 17. The changed plot has the same values except for a maximum of 19. Whiskers show the minimum and maximum.
Original and changed fictional records, using the median-of-halves convention and minimum-to-maximum whiskers.

For a reproducible paper drawing, use a horizontal axis from 0 through 20 with one data unit per centimeter. Mark the five positions in the table. Draw the box from 4.5 to 11, place the median mark at 8, and draw whiskers from 4.5 back to 2 and from 11 forward to 17. Label the number line and identify the min/max-whisker convention.

Under this specified scale, the box is 6.5 cm wide because it represents 6.5 data units. The left whisker is 2.5 cm and the right whisker is 6 cm. The two sections of the box have widths 3.5 and 3 cm. These widths reflect numerical distances on the axis; the drawing does not assign equal physical width to four groups merely because they correspond to successive portions of the ordered data.

Read the plot back before accepting it. The median mark must be at 8 on the axis, not necessarily at the geometric center of the box. The plot summarizes the complete supplied set; it does not display each original observation or establish that the data came from a representative population.

Repair an equal-segment drawing

A fictional first drawing places the five marks at equal one-centimeter intervals and labels them 2, 4.5, 8, 11 and 17. Its labels are in the correct order, but adjacent gaps in the data are 2.5, 3.5, 3 and 6 units. Equal spaces cannot represent all four gaps on one linear scale.

Restore a 0–20 axis at one unit per centimeter and place the marks at 2, 4.5, 8, 11 and 17 cm from zero. Redraw the box and whiskers, then check all five positions against the number line. Merely relabeling the equally spaced marks would leave the distortion in place.

The finished drawing has a right whisker longer than the left in this record. That difference is a feature of the supplied endpoint-to-quartile distances, not proof that a particular value is an error or a formal outlier. The exercise uses min/max whiskers and no separate outlier rule.

A changed maximum changes one endpoint

In a separate record, replace 17 with 19 and retain the other seven values. The ordered set is now 2, 4, 5, 7, 9, 10, 12, 19. Under the same median-of-halves rule, Q1 remains 4.5, the median remains 8 and Q3 remains 11. The minimum stays 2; the maximum becomes 19.

On the same axis, keep the box and median where they were and move the right whisker endpoint from 17 to 19. The IQR stays 6.5; the full range becomes 17. The old plot remains correct for the original data but cannot depict the changed maximum. An unchanged box does not mean every observation stayed unchanged.

Hold a missing convention or value

Suppose an exercise requests a box plot but does not state which quartile convention or whisker rule to use. Different quartile algorithms can give different boundaries, and some plot styles end whiskers at non-outlier observations rather than the minimum and maximum. Ask for the applicable rule before treating one drawing as the requested answer.

If one of the eight source values is illegible, keep that record unresolved as well. The fictional learner needs the actual value and applicable method before finalizing the summary. Do not silently reuse 17 from the completed example or assume a missing value cannot alter the ordering.

Check the summary against the drawing

Retain the complete data, sort order, quartile rule, five values, IQR, axis scale and whisker convention. Reproduce 2, 4.5, 8, 11, 17 and verify their five axis positions. Reject the equal-space drawing, then show how the changed maximum moves the right whisker while leaving the box unchanged.

This is a graphic summary of the supplied record. It does not reveal every value, establish why an extreme occurs or guarantee a future outcome. Other quartile and outlier conventions require their own explicit labels and calculation.

Explore Infinite Upside

For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.

Find your edition · Chapter companion

ABOUT THE CONTRIBUTOR

Luna Lim

DIRECTOR OF FINANCIAL RESEARCH & EDITORIAL STRATEGY

SHETH CAPITAL, INC.

Luna Lim writes about business, investing, and the judgment behind financial decisions. She joined PCH Exotics Inc. as Director of Operations in 2022, working across La Jolla and Miami. Today, she reports directly to Vijay Sheth at Sheth Capital, Inc., bringing an operator’s perspective to the ideas she covers.

Based in Pacific Beach, California, Luna is curious about the people behind the numbers: what they’re building, how they weigh uncertainty, and what makes a risk worth taking. Her articles for Infinite Upside follow those questions through the details, with clear explanations and a feel for how decisions play out in everyday business.

More from Luna Lim

The Infinite Upside store