Graphs and the shape of data
Dot plots, stem-and-leaf plots, histograms and frequency polygons, sector graphs and divided bar graphs, line graphs, choosing a graph, describing shape, and spotting misleading graphs.
A good graph lets someone understand the data in five seconds. A bad one (or a sneaky one) leaves them with the wrong idea just as quickly. You need to be able to read graphs, choose them, and catch the ones designed to fool you.
Dot plots and stem-and-leaf plots
For small sets of numerical data, these two keep every individual value while showing the shape.
- A dot plot puts a dot above a number line for each value. Repeated values stack up.
- A stem-and-leaf plot splits each value into a stem (usually the tens) and a leaf (the units). Leaves are written in order, so the plot is also a sorted list. Always include a key.
Twenty students recorded how many minutes it takes them to get to school: $8$, $12$, $14$, $15$, $15$, $17$, $18$, $21$, $22$, $22$, $24$, $25$, $27$, $31$, $33$, $36$, $42$, $45$, $51$, $63$. Draw a stem-and-leaf plot, find the median and describe the shape.
| Stem | Leaf |
|---|---|
| 0 | 8 |
| 1 | 2 4 5 5 7 8 |
| 2 | 1 2 2 4 5 7 |
| 3 | 1 3 6 |
| 4 | 2 5 |
| 5 | 1 |
| 6 | 3 |
Histograms and frequency polygons
For larger sets of numerical data, group the values (as in 8C) and draw a histogram: a column graph with no gaps between the columns, because the classes run on continuously from one to the next. A frequency polygon joins the midpoints of the tops of the columns (at the class centres) with straight lines, dropping to zero half a class beyond each end.
Describing shape
- Symmetric: the two sides are roughly mirror images, with the peak in the middle. Heights of students are usually close to symmetric.
- Positively skewed: the tail stretches out to the right (towards the larger values). Commute times, incomes and house prices are typically positively skewed.
- Negatively skewed: the tail stretches out to the left. Marks on an easy test are often negatively skewed.
A useful memory hook: the skew is named after the tail, not the peak.
For each data set, try every class width. Which width shows the shape most clearly? What goes wrong with the narrowest and the widest?
Describe the shape of each data set in a sentence that mentions the context, for example "Most students get to school quickly, but a few have very long trips."
Graphs for categorical data
- Column or bar graphs: one bar per category, with gaps between them.
- Sector (pie) graphs: show each category as a share of the whole. The angle of each sector is $\dfrac{f}{\text{total}} \times 360^\circ$.
- Divided bar graphs: one long bar split into parts. Each part's length is $\dfrac{f}{\text{total}} \times$ the bar's length.
Of $120$ students, $42$ catch the train, $30$ the bus, $36$ come by car and $12$ walk or cycle. Find the sector angles, and the lengths for a $12$ cm divided bar graph.
Choosing a graph
| Data | Good choices |
|---|---|
| Categorical, comparing categories | column or bar graph |
| Categorical, parts of a whole | sector graph, divided bar graph |
| Numerical, small set | dot plot, stem-and-leaf plot |
| Numerical, large or continuous | histogram, frequency polygon |
| Change over time | line graph |
| Comparing spread of groups | parallel box plots (see 8F) |
Misleading graphs
Graphs can mislead without a single false number. Check for:
- a vertical axis that doesn't start at zero (with no break symbol), which exaggerates differences
- uneven scales, or missing labels and units
- pictures or 3D shapes scaled in two or three directions, so their area or volume grows far faster than the data
- a time period cherry-picked to show a trend that isn't there over a longer period
- a sector graph whose percentages don't add to $100\%$
Compare how big Term 4 looks with the real ratio in each of the four settings. Which setting misleads the most?
Why does the picture version still mislead when the axis starts at $0$?
Your turn
In a survey of $250$ people, one sector of a pie chart has an angle of $72^\circ$. How many people does it represent?
Show the working
$\dfrac{72}{360} = 0.2$, so the sector is $20\%$ of the people: $0.2 \times 250 = 50$ people.
$45$ of $180$ people chose soccer. Find the sector angle in degrees.
$\dfrac{45}{180} \times 360 = 90^\circ$.
A $72^\circ$ sector in a survey of $250$ people represents how many people?
$\dfrac{72}{360} \times 250 = 0.2 \times 250 = 50$.
A distribution has a long tail to the left. It is:
Skew is named after the tail. A tail towards the low (left) values is negative skew.
The best graph to show how a city's average daily temperature changes month by month is a:
Change over time is shown best by a line graph.
Why does a histogram have no gaps between its columns?
The columns stand for intervals on a number line that join up, so there are no gaps.
In Example 1, what is the range of the commute times?
Largest $63$, smallest $8$: $63 - 8 = 55$ minutes.
In Example 1, how many students take $30$ minutes or more?
Stems 3 to 6 hold $3 + 2 + 1 + 1 = 7$ leaves.
Exam style: A graph of a company's profits has a vertical axis from $\$95$ million to $\$100$ million. The most likely effect is that:
Cutting off the bottom of the axis makes the bars or line exaggerate any difference.
Exam style: In a $15$ cm divided bar graph of $200$ survey responses, how long is the part for a response chosen by $32$ people? Give your answer in cm.
$\dfrac{32}{200} \times 15 = 0.16 \times 15 = 2.4$ cm.
Coaching Centre