Reading and drawing data graphs
What this lesson covers
- Time-series data can be visualised with a time-series or line graph formed on a coordinate plane, with the x-axis representing time and the y-axis the second variable.
- Interpreting a data visualisation includes describing its variables and their units, the context for the data, and the visualisation's key features: its shape (e.g. the number of peaks) its middle group(s) (where the middle of the data lies) its spread (how spread the data is from the minimum (lowest) value to the maximum (highest) value).
Two weeks, identical numbers
- Both weeks have a mean of exactly 21°C.
- Both have a range of exactly 6°C.
- So they are the same week. Are they?
| Week | Daily maximum, °C | Mean | Range |
|---|---|---|---|
| Week 1 | 18, 20, 19, 22, 21, 23, 24 | 21°C | 6°C |
| Week 2 | 19, 24, 18, 22, 21, 24, 19 | 21°C | 6°C |
Week 1, drawn
- It climbs. 18 on Monday, 24 by Sunday.
- Two small dips on the way up.
- A week that warmed up.

Week 2, drawn
- Up, down, up, down.
- It finishes at 19, where it started.
- Nothing like week 1.

So the numbers were not enough
- Same mean. Same range. Different week.
- The summary tells you the middle and the spread.
- The picture tells you the shape.
| Tells you | Mean & range | Graph |
|---|---|---|
| The middle | yes | yes |
| The spread | yes | yes |
| The shape | no | yes |
| Whether it trended | no | yes |
Building a time-series graph
- Time always goes along the bottom.
- The thing you measured goes up the side.
- Label both, with their units.

Plot, then join
- One point for each day.
- Then join neighbours with straight lines.
- The line is a guide for the eye, not measured data.

Try it: plot, join, find the trend
Does it show a trend?
- A trend is the overall direction.
- Week 1 starts at 18 and ends at 24.
- Up 6°C across the week: yes, a rising trend.

And week 2?
- It moves plenty: 18 up to 24 and back.
- But it starts at 19 and ends at 19.
- Movement without direction. No trend.

A trend is not the last two points
- Week 2 rose from day 5 to day 6.
- That is not a trend, it is one day.
- Look at the whole graph, end to end.
| Looking at | Week 2 says |
|---|---|
| Days 5 to 6 | rising fast |
| Days 6 to 7 | falling fast |
| The whole week | going nowhere |
Choosing the right picture
- Data that changes over time: a line graph.
- Data in separate categories: a bar chart.
- The data decides, not what looks nicer.
| Your data | Use | Example |
|---|---|---|
| Changes over time | line or time-series graph | temperature each day |
| Separate categories | bar chart | how students travel |
| Parts of one whole | bar chart is still clearest | at Year 6 |
How the class gets to school
- Five categories, 35 students.
- Separate bars, with gaps between them.
- The gaps say these are separate groups.

Try it: bars for categories
Why not join those up?
- A line between "walk" and "bus" would mean something.
- It would mean there are values in between.
- There are not. So no line.
| Between two points | Is there anything there? |
|---|---|
| Day 3 and day 4 | yes, the hours in between |
| Walk and bus | no, nothing is half of either |
Interpreting a graph
- Name the variables and their units.
- Give the context: whose data, when, where.
- Then describe its shape, middle and spread.
| Say | For week 1 |
|---|---|
| The variables | day, and maximum temperature |
| Their units | days; degrees Celsius |
| The context | Auckland, one week in March |
| The shape | rising, with two small dips |
| The middle | most days near 21°C |
Variables and units first
- The variables: the day, and the maximum temperature.
- The units: days, and degrees Celsius.
- "It goes up to 24" means nothing without the unit.
| Axis | Variable | Unit |
|---|---|---|
| Across | day of the week | days 1–7 |
| Up | maximum temperature | °C |
Then the context
- Whose data is it? Measured where, and when?
- Auckland, one week in March.
- The same graph from July would say something else.
| Question | Answer |
|---|---|
| What was measured? | the daily maximum |
| Where? | Auckland |
| When? | one week in March |
| How often? | once a day |
Shape: count the peaks
- The travel chart has one peak: walking.
- Then it falls away steadily to scooter.
- One peak, falling to the right.
| Feature | Travel chart |
|---|---|
| Peaks | one: walking |
| Then | falls away steadily |
| Smallest group | scooter, 3 students |
| Spread | from 3 up to 12 students |
Middle and spread
- The middle: where most of the data sits.
- Week 1 has most days near 21°C.
- The spread runs from the lowest to the highest: 18 to 24.

The two numbers, from the graph
- Add the seven readings: 147.
- 147 ÷ 7 = 21°C (the mean).
- 24 − 18 = 6°C (the range).
- Temperature is measured, so keep the unit on both.
| Measure | Working | Result |
|---|---|---|
| Mean | 147 ÷ 7 | 21°C |
| Range | 24 − 18 | 6°C |
Look at where the axis starts
- The same week 1, now drawn from 0 instead of 16.
- The same rise, and it looks almost flat.
- Neither graph is lying.
- So check the axis before you believe the slope.

Try it: trend, picture, axis
Common mistakes
- Week 2 went up from day 5 to day 6, so it shows a rising trend.A trend is the whole graph. Week 2 starts at 19°C and ends at 19°C, so there is no trend.
- I drew a line graph of how students travel to school.Walk, bus and car are separate groups, so use a bar chart. A line would mean there are values in between.
- I put the temperature along the bottom and the days up the side.Time always goes along the bottom (the x-axis), and the measurement goes up the side.
- This graph climbs steeply, so the temperature must have changed a lot.Check where the axis starts. A 6°C rise looks steep from 16°C and almost flat from 0°C.
Your turn
Line graph or bar chart: favourite fruit in your class?
Line graph or bar chart: your height each birthday?
A graph starts at 5 and ends at 5. Any trend?
Find the mean of 10, 12, 11, 15, 12.
Christchurch's daily maximums were 14, 17, 12, 19 and 15°C. What is the range?
A bar chart of favourite sport shows rugby 4, netball 11, football 7, cricket 3. Describe its shape.
Monthly rainfall was 80, 75, 60, 55, 40, then 45 mm. Does the time-series graph show a trend?
The same temperatures are graphed twice: one up axis starts at 0, the other at 16. Why does the second line look steeper?
Show answer
1. Bar chart: the fruits are separate categories with no order. 2. Line graph: it is a time series, one measurement per year. 3. No trend; it may have moved about in between, but there is no overall direction. 4. 10 + 12 + 11 + 15 + 12 = 60, and 60 ÷ 5 = 12. 5. 7°C: highest take lowest, 19 − 12 = 7°C. Keep the unit, because temperature is measured. 6. One peak, at netball (11), the tallest bar; the other bars are all lower. 7. Falling trend: across the whole graph it drops from 80 mm to 45 mm. One small rise at the end is not a trend. 8. The second axis starts at 16, so the same rise is stretched over more of the graph. The data has not changed.
What to take away
- Same mean and range can still be different data.
- Time on the bottom, measurement up the side, both labelled.
- A trend is the whole graph, not the last two points.
- Always read the axis before you read the shape.
Challenge
A school weather station records the temperature every 3 hours on one spring day in Hamilton: 6 am 8°C, 9 am 12°C, noon 17°C, 3 pm 15°C, 6 pm 11°C. Tui draws a time-series graph and joins the points with straight lines. (a) Use her line to estimate the temperature at 10:30 am. (b) Tui says, "The hottest it got all day was 17°C, at noon." A second thermometer that records every hour shows 19°C at 1 pm. Explain why Tui's graph could not show this. (c) What is the range of Tui's five readings, and what is the smallest the true range for 6 am to 6 pm could be?
Hint
10:30 am is exactly halfway between two readings. And remember what the joining lines on a time-series graph really are.
Answer
(a) 14.5°C. (b) The lines between points are only a guide, not measured data, so a peak between readings is missed. (c) Her range is 9°C; the true range is at least 19 − 8 = 11°C.
Step by step
- 10:30 am is halfway between 9 am (12°C) and noon (17°C), so the line gives halfway between: 14.5°C.
- Tui only measured at 3-hour gaps. The straight line from noon to 3 pm just joins two measured points.
- The real temperature can rise and fall between readings, so the hottest moment (19°C at 1 pm) fell between her points.
- Her range is 17 − 8 = 9°C. The true lowest is at most 8°C and the true highest is at least 19°C, so the true range is at least 11°C.
Full working
- (12 + 17) ÷ 2 = 14.510:30 am is halfway from 9 am to noon
- line from noon to 3 pmjoins two readings, not measured in between
- 17 − 8 = 9range of Tui's readings
- 19 − 8 = 11true high at least 19, true low at most 8
- (a) 14.5°C, (b) the line is a guide, the peak fell between readings, (c) 9°C, true range at least 11°C
Mere measures a kōwhai seedling at weeks 0, 1, 2, 4 and 8. Its heights are 2 cm, 4 cm, 6 cm, 10 cm and 18 cm. She draws a line graph, but she spaces the five weeks evenly along the bottom, like categories, with the same gap between week 2 and week 4 as between week 0 and week 1. (a) What does her graph seem to show about how fast the seedling grows? (b) Work out how much it really grew per week in each gap. What is really happening? (c) Estimate its height at week 6, and say what Mere should change on her graph.
Hint
Find the growth in each gap, then divide by the number of weeks in that gap.
Answer
(a) It seems to grow faster and faster (the line gets steeper). (b) It grew 2 cm every week in every gap: steady growth. (c) 14 cm; the time axis must be evenly spaced in weeks, so week 4 sits twice as far from week 2 as week 1 does from week 0.
Step by step
- On Mere's graph each step along is the same width, but the rises are 2, 2, 4 and 8 cm, so the line looks steeper and steeper.
- The last two gaps are 2 weeks and 4 weeks long, not 1 week.
- Growth per week: 2 ÷ 1, 2 ÷ 1, 4 ÷ 2 and 8 ÷ 4, which is 2 cm every time. The growth is steady.
- At 2 cm a week, from 10 cm at week 4, week 6 is 10 + 4 = 14 cm.
- Time must be spaced to scale along the bottom; then the points lie on a straight line.
Full working
- 4 − 2 = 2 over 1 week2 cm per week
- 6 − 4 = 2 over 1 week2 cm per week
- 10 − 6 = 4 over 2 weeks4 ÷ 2 = 2 cm per week
- 18 − 10 = 8 over 4 weeks8 ÷ 4 = 2 cm per week
- 10 + 2 × 2 = 14week 6, two weeks after week 4
- Steady growth of 2 cm per week; about 14 cm at week 6
A Napier library counts its visitors each day for a week: Mon 21, Tue 25, Wed 16, Thu 19, Fri 26, Sat 30, Sun 24. Rawiri draws a time-series graph, but to save space he starts the vertical axis at 15 instead of 0, with each grid square worth 1 visitor. (a) On his graph, how many squares above the bottom line is Saturday's point, and how many is Wednesday's? So how many times as high does Saturday look? (b) How many times as many visitors really came on Saturday as on Wednesday? (c) Which two neighbouring days show the steepest climb, and which show the steepest drop? (d) The librarian says, "The line went up from Thursday to Saturday, so visitor numbers are rising." Use the whole week to explain why that is not a fair trend.
Hint
On Rawiri's graph, a point's height above the bottom line is its value minus 15, not its value. For (c), work out the change from each day to the next, and look at the signs.
Answer
(a) Saturday 15 squares, Wednesday 1 square, so Saturday looks 15 times as high. (b) 30 ÷ 16 = 1.875, just under 2 times. (c) Steepest climb Thursday to Friday (up 7); steepest drop Tuesday to Wednesday (down 9). (d) A trend is the whole graph: the week starts at 21 and ends at 24, only 3 higher, with big ups and downs in between, so there is no clear rising trend.
Step by step
- Rawiri's axis starts at 15, so each point sits (value − 15) squares above the bottom line.
- Saturday sits 30 − 15 = 15 squares up and Wednesday 16 − 15 = 1 square up, so Saturday looks 15 times as high.
- Really, 30 ÷ 16 = 1.875, so Saturday had just under twice as many visitors. Starting the axis at 15 made the difference look far bigger.
- The day-to-day changes are +4, −9, +3, +7, +4 and −6. The biggest rise is +7 (Thursday to Friday) and the biggest fall is −9 (Tuesday to Wednesday).
- Thursday to Saturday is only part of the week, and Sunday then drops by 6. From end to end the week goes from 21 to 24, a rise of just 3 with large ups and downs, so it does not show a clear rising trend.
Full working
- 30 − 15 = 15, 16 − 15 = 1squares above the bottom line on Rawiri's graph
- 15 ÷ 1 = 15Saturday looks 15 times as high
- 30 ÷ 16 = 1.875the real comparison
- +4, −9, +3, +7, +4, −6changes Mon to Tue, ..., Sat to Sun
- biggest rise +7 (Thu to Fri), biggest fall −9 (Tue to Wed)compare the changes
- 21 → 24whole week: up only 3, with big ups and downs
- (a) 15 squares and 1 square, looks 15 times; (b) 1.875 times; (c) climb Thu to Fri, drop Tue to Wed; (d) no clear rising trend

