Displaying data
Classify variables as categorical or numerical, construct frequency tables and histograms, describe the shape of a distribution, and identify misleading features in statistical graphs.
Worked examples
Classifying a variable and constructing a frequency table
Straightforward
Problem
A librarian records the number of books borrowed by each of 12 students during one week: .
(a) Classify the variable "number of books borrowed" as categorical, numerical (discrete) or numerical (continuous).
(b) Construct a frequency table for the data.
(a) Classify the variable "number of books borrowed" as categorical, numerical (discrete) or numerical (continuous).
(b) Construct a frequency table for the data.
1
Decide whether the variable is categorical or numerical.
The number of books borrowed is found by counting. It takes number values that can be ordered and compared in size, so it is a numerical variable.
2
Decide whether the numerical variable is discrete or continuous.
You can only borrow a whole number of books — values such as 1.5 are not possible. The variable can only take isolated whole-number values, so it is numerical (discrete).
3
List the distinct values that appear in the dataset.
Reading through the data, the values that appear are and . List these in order as the rows of the frequency table.
4
Count the frequency of each value.
Tally each value in the list :
| Number of books | Frequency |
|---|---|
| | |
| | |
| | |
| | |
| **Total** | **12** |
| Number of books | Frequency |
|---|---|
| | |
| | |
| | |
| | |
| **Total** | **12** |
5
Check that the frequencies sum to the total number of students.
✓
Answer
The variable is numerical (discrete). Frequency table: , , , (total: 12 students).
Describing distribution shape and calculating relative frequency
Moderate
Problem
The frequency table below shows the distances (in km) that 25 Year 11 students travel to school each day.
| Distance (km) | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – | |
| – | |
(a) Describe the shape of the histogram drawn from this table.
(b) Find the relative frequency of the class – km, expressed as a simplified fraction.
| Distance (km) | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – | |
| – | |
(a) Describe the shape of the histogram drawn from this table.
(b) Find the relative frequency of the class – km, expressed as a simplified fraction.
1
Read the frequencies to identify where the data is concentrated.
The frequencies are — they decrease steadily from the first class to the last. Most students travel a short distance; very few travel km or more.
2
Identify the tail and describe the shape.
The data is concentrated at the left (lower values) with a long tail extending to the right (higher values). This is a positively skewed distribution.
3
Find the total frequency.
Total students.
4
Calculate the relative frequency of the – km class.
Relative frequency
Answer
The distribution is positively skewed. The relative frequency of the – km class is .
Identifying a misleading feature in a graph
Challenging
Problem
A local council presents a bar chart showing the number of potholes repaired each quarter. The vertical axis begins at rather than , and shows four bars: Q1 , Q2 , Q3 , Q4 . The council spokesperson claims: "Our repair rate tripled from Q1 to Q4."
Identify the misleading feature of the chart and explain whether the spokesperson's claim is justified.
Identify the misleading feature of the chart and explain whether the spokesperson's claim is justified.
1
Identify the misleading feature of the chart.
The vertical axis begins at rather than at . This is called a truncated axis — it cuts off the lower portion of the scale.
2
Determine the visual impression created by the truncated axis.
With the axis starting at , the visible bar heights above the baseline are:
- Q1: units
- Q4: units
The Q4 bar appears times taller than the Q1 bar in the chart.
- Q1: units
- Q4: units
The Q4 bar appears times taller than the Q1 bar in the chart.
3
Calculate the actual change in the number of potholes repaired.
Actual increase potholes.
Percentage increase
Percentage increase
4
Compare the visual impression with the actual data and evaluate the claim.
The chart makes Q4 look three times as high as Q1, but the actual increase is only about — far from a tripling. The spokesperson's claim is not justified. If the axis started at , all four bars would be nearly identical in height, accurately showing that the number of repairs changed very little across the year.
Answer
The misleading feature is the truncated vertical axis, which starts at instead of . The Q4 bar appears three times taller than Q1 in the chart (9 vs. 3 units above the baseline), creating the impression of a tripling. The actual increase is potholes — approximately . The spokesperson's claim is not justified.
Practise
Q1·Straightforward
A survey asks students how many text messages they send each day. Which type of variable is "number of text messages sent per day"?
Explanation
The number of text messages must be a whole number — you cannot send 2.7 messages. It is numerical because it is found by counting, and discrete because only whole-number values are possible.
Q2·Straightforward
An athletics coach records the time taken by each student to run 100 metres. Which type of variable is "time to run 100 m"?
Explanation
Time can take any value within a range — for example, 13.47 s or 13.472 s. It is numerical because it is measured, and continuous because any value is theoretically possible within the range, not just whole numbers.
Q3·Straightforward
Eight students reported the number of books they read last month: . How many students read exactly books?
Explanation
Reading through the list: . The value 2 appears three times, so its frequency is .
Q4·Straightforward
Ten quiz scores were recorded: . How many scores of are there?
Explanation
Reading through the list: . The value 8 appears at positions 1, 3, 6 and 9, giving a frequency of .
Q5·Moderate
A frequency table shows the number of hours per week that 30 students spend on social media:
| Hours per week | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – | |
| – | |
Which description best matches the shape of the histogram drawn from this table?
| Hours per week | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – | |
| – | |
Which description best matches the shape of the histogram drawn from this table?
Explanation
The data peaks in the middle class (– hours, frequency ). The frequencies on either side are mirror images: below the peak and above it. The distribution is approximately symmetric — neither tail is longer than the other.
Q6·Moderate
A researcher records how long customers wait in a queue at a bank. Most customers wait between 1 and 4 minutes, but a small number of customers wait much longer — up to 25 minutes. Which description best matches the shape of the histogram of waiting times?
Explanation
Most values are clustered near the lower end (1–4 minutes) with a few very large values extending to 25 minutes. This long tail stretches to the right (towards higher values), so the distribution is positively skewed.
Q7·Moderate
A frequency table records Year 11 test scores:
| Score | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – | |
| – | |
How many students sat the test in total?
| Score | Frequency |
|---|---|
| – | |
| – | |
| – | |
| – | |
| – | |
How many students sat the test in total?
Explanation
Total students.
Q8·Moderate
In a class of students, a frequency table shows that students scored in the range –. Express the relative frequency of this class as a simplified fraction.
/
Explanation
Relative frequency . Dividing numerator and denominator by gives .
Q9·Challenging
A bar chart displays the average monthly electricity bills for four households. The vertical axis begins at rather than and shows values , , and . Which statement best identifies the misleading feature and explains its effect?
Explanation
When the axis starts at , the visible bar heights above the baseline are very small differences (e.g., vs ), which are magnified visually. A reader glancing at the chart would think the highest bill () is many times larger than the lowest (), when it is actually only about more. Starting the axis at would show all bars nearly equal in height, reflecting the small actual differences.
Q10·Challenging
A histogram displays income data for 20 employees using unequal class intervals. The class – has a frequency of (width ) and the class – has a frequency of (width ). Bar heights are drawn equal to frequency. A colleague says: "Incomes are more concentrated in the – class because its bar is taller." Which response correctly evaluates this claim?
Explanation
Frequency density measures how many data values fall per unit of the class interval. For –: per . For –: per . The lower class has a higher density — incomes are more concentrated there. Using bar height equal to raw frequency when class widths differ gives a misleading visual impression of concentration.
Q11·Challenging
A 3D pie chart is used in a report to compare the market share of four companies: A , B , C , D . Due to the 3D perspective, the front slices (C and D) appear larger than the back slices (A and B). Which statement best explains why this is misleading?
Explanation
All four companies hold exactly market share, so each slice should be identical in size. The 3D tilt makes slices near the front of the chart appear wider and larger than slices at the back, even though they represent the same value. A reader would incorrectly conclude that C and D dominate the market. A flat (2D) pie chart would display all four slices equally and avoid this distortion.
Q12·Challenging
A student surveys 30 classmates about their favourite music genre (Pop, Rock, Jazz, Classical) and plots the results as a line graph, connecting the four data points with straight lines. A teacher says the graph is misleading. Which statement best explains why?
Explanation
Line graphs are appropriate when the horizontal axis represents a continuous or ordered scale (such as time or temperature), so the line between points carries meaning. Genre is a categorical variable — the categories Pop, Rock, Jazz and Classical have no numerical order. Connecting them with a line falsely implies a continuous trend between genres. A bar chart or column graph would correctly display these frequencies without suggesting any relationship between the categories.