5.1 - Choosing a data display

5.1 - Choosing a data display

A list preserves every observation, but a well-chosen display reveals patterns much faster. In this part of 5.1, you will choose a display for a purpose, organise values in stem-and-leaf diagrams, and construct and interpret histograms. The central question is what each picture preserves and what it hides.

Raw data and representation

Two classes record their journey times to school. Would a list of every time, a picture of the distribution, or a single summary make the fairest comparison? The answer depends on what you want to discover.

Raw data are the individual observations before they are summarised. For example, journey times of 1212, 1818, 1111 and 2525 minutes retain more detail than “four journeys took less than 3030 minutes”. Grouping makes a large dataset manageable, but loses the exact observations.

Types of data

Categorical data describe groups, such as bus, walk or cycle. Numerical data record counts or measurements. A discrete variable takes separate possible values, such as the number of passengers; a continuous variable can take any value within an interval, such as a journey time. A continuous measurement remains continuous even when rounded for recording.

Choose a display by matching the data and the question. A frequency is a count of observations, rather than the value being measured.

DisplayUseful forAdvantage and limitation
Bar chart or pie chartFrequencies of categoriesCompares category sizes or shares; does not show individual numerical measurements. Separate bars represent separate categories.
Stem-and-leaf diagramA modest number of numerical observationsShows shape and retains every value; becomes crowded for a very large dataset.
HistogramNumerical observations grouped into intervalsShows the distribution and handles unequal intervals; exact individual values are lost.
Cumulative frequency graphRunning totals of numerical observationsEstimates counts below a value and percentiles; grouped estimates do not recover the raw data.
Box-and-whisker plotComparing centres and spreads of numerical datasetsCompact and easy to compare on a common scale; conceals much of the distribution's shape.
Time-series graphMeasurements recorded in time orderShows change over time; rearranging observations by size would destroy that information.

For a small set of exact journey times, a stem-and-leaf diagram lets you recover the actual times. For hundreds of times already grouped into intervals, use a histogram to examine where they cluster. The next lesson develops cumulative frequency graphs and box-and-whisker plots.

Key idea

A useful display answers a particular question. Ask whether you need individual observations, distribution shape, a comparison of summaries, or change over time before choosing it.

Make that choice for a dataset whose individual observations are no longer available.

Stem-and-leaf diagrams

A stem-and-leaf diagram splits each observation into a leading part and a final digit. Unlike a histogram, it retains the raw numerical values.

For 2424 minutes, choose stem 22 and leaf 44. The same written pair could mean 2.42.4 or 240240 in another dataset, so the key is essential. Put stems in increasing order, include repeated leaves, and order leaves along each row. Include an empty stem if it is needed to show a gap.

Stem-and-leaf key

A key states the value and units represented by a stem and a leaf. For example, “2∣42\mid4 represents 2424 minutes” fixes the scale of the whole diagram.

A useful check is to count the leaves: there must be one per observation, including repeats.

Worked example 1: retaining every observation

Question. Construct a stem-and-leaf diagram for these journey times, in minutes:

12, 18, 11, 25, 22, 19, 18, 31, 20, 26, 24, 32.12,\ 18,\ 11,\ 25,\ 22,\ 19,\ 18,\ 31,\ 20,\ 26,\ 24,\ 32.

Plan. Use tens as stems, sort the units digits, and provide a key.

StemLeaves
11128891\quad2\quad8\quad8\quad9
22024560\quad2\quad4\quad5\quad6
33121\quad2

Answer. The diagram above, with key: 2∣42\mid4 represents 2424 minutes. For example, the repeated leaves 8,88,8 in the first row record two journeys of 1818 minutes.

Check. There are 5+5+2=125+5+2=12 leaves. Reading the diagram back gives the same twelve observations, with minimum 1111 and maximum 3232 minutes.

Now add a second group using the same stems and key. The only structural change is that one group goes to the left of the stem. Its leaves increase as you read outwards from the stem, so they appear in descending order from left to right.

Worked example 2: a back-to-back comparison

Question. Compare group A from Example 1 with group B, whose times in minutes are

10, 14, 17, 20, 21, 21, 24, 28, 29, 30, 33, 35.10,\ 14,\ 17,\ 20,\ 21,\ 21,\ 24,\ 28,\ 29,\ 30,\ 33,\ 35.

Construct a back-to-back stem-and-leaf diagram and state how many times in each group are at least 3030 minutes.

Plan. Put A to the left and B to the right of common tens stems. Read the row with stem 33 to answer the count.

Group A leavesStemGroup B leaves
988219\quad8\quad8\quad2\quad1110470\quad4\quad7
654206\quad5\quad4\quad2\quad0220114890\quad1\quad1\quad4\quad8\quad9
212\quad1330350\quad3\quad5

Key: 4∣2∣14\mid2\mid1 represents 2424 minutes for A and 2121 minutes for B.

Answer. A has 22 times at least 3030 minutes; B has 33. The common stems allow a direct comparison without discarding any observations.

Check. A still has 1212 leaves; B has 3+6+3=123+6+3=12. The values 31,3231,32 and 30,33,3530,33,35 confirm the counts directly from the lists.

The row labels alone do not determine the scale of the data.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account