Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›4 Statistics and probability
  4. ›4.2 Presenting data

IB Mathematics: Analysis and Approaches · Topic 4 · Statistics and probability

4.2 Presenting data

Organise raw data into frequency tables, draw and interpret bar charts, histograms and box plots, and compare the displays.

  • 5 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A frequency table organises raw data into counts
  1. 1A frequency table organises raw data into counts
  2. 2A bar chart shows frequency for separate values
  3. 3Histograms show grouped measured data using frequency density
  4. 4A box plot shows median, quartiles and outliers
  5. 5The best display depends on the data and the question
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A frequency table organises raw data into counts

Imagine asking 20 students how many siblings they have. The answers as collected are called raw data. Written in order of asking, they are hard to read at a glance.

Count how often each value occurs. This count is the frequency, written fff. A frequency table lists each value with its frequency. The frequencies must add up to the number of items.

Tally marks help when counting by hand. Draw one stroke per item and group the strokes in fives.

Worked example

Building a frequency table

Twenty students gave these numbers of siblings: 0, 1, 2, 1, 3, 1, 0, 2, 2, 1, 4, 1, 2, 0, 1, 3, 2, 1, 2, 1. Organise the data in a frequency table.
  1. 1
    Count each value: 0 appears 3 times, 1 appears 8 times and 2 appears 6 times.
  2. 2
    Continue: 3 appears 2 times and 4 appears once.
  3. 3
    Check the total: 3+8+6+2+1=203+8+6+2+1=203+8+6+2+1=20.

Answer: Siblings 0, 1, 2, 3, 4 have frequencies f=3,8,6,2,1f=3, 8, 6, 2, 1f=3,8,6,2,1.

Key terms · tap one for its definition

frequency

The frequency of a value or class is the number of data items it contains, written fff.

frequency table

A frequency table is a table that lists each value or class together with its frequency.

Part 1 done

2

Part 2 of 5: A bar chart shows frequency for separate values

A table is useful, but a picture shows the pattern faster. Now draw the sibling data as a bar chart. Each value gets one bar, and the height of the bar equals its frequency.

Bars have equal widths and gaps between them, because the values are separate. This suits data in categories, such as eye colour. It also suits discrete data, which are counted values like the number of siblings.

Label both axes and give the chart a title. Start the frequency axis at zero. Otherwise the bar heights mislead.

Key terms · tap one for its definition

bar chart

A bar chart is a diagram with separated bars whose heights show the frequency of each category or discrete value.

discrete data

Discrete data are data that take separate values, usually found by counting.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the display that uses touching bars for grouped measured data.
Show answer and explanation

Answer: C · Worked explanation

A histogram draws one touching bar for each class interval, which suits grouped measured data. A bar chart has gaps between bars because its values are separate. A box plot summarises five values and has no bars, and a frequency table is a list, not a chart.
3

Part 3 of 5: Histograms show grouped measured data using frequency density

Heights, times and masses can take any value in a range. To display them, group the values into classes. Each range, such as 0≤t<100\le t<100≤t<10, is a class interval. A histogram then draws one bar for each class, with no gaps between bars.

When all classes have the same width, bar height can show frequency. When widths differ, the area of each bar must show frequency. Then the height is the frequency density: frequency density=frequencyclass width\mathrm{frequency\,density}=\frac{\mathrm{frequency}}{\mathrm{class\,width}}frequencydensity=classwidthfrequency​.

Worked example

Frequency density

Journey times of 56 people are grouped. In 0≤t<100\le t<100≤t<10 minutes there are 8 people, in 10≤t<3010\le t<3010≤t<30 there are 30 people, and in 30≤t<4030\le t<4030≤t<40 there are 18 people. Calculate the frequency density of each class.
  1. 1
    Find the class widths: 10, 20 and 10 minutes.
  2. 2
    First class: 810=0.8\frac{8}{10}=0.8108​=0.8.
  3. 3
    Second class: 3020=1.5\frac{30}{20}=1.52030​=1.5.
  4. 4
    Third class: 1810=1.8\frac{18}{10}=1.81018​=1.8.

Answer: The frequency densities are 0.8, 1.5 and 1.8 people min−11.8\ \mathrm{people\,min^{-1}}1.8 peoplemin−1.

Figure 1. The middle bar is twice as wide as the others, so its area, not its height alone, shows its frequency.

Common mistake

Do not plot frequency as the height when class widths are unequal. The wide class would look too large. Use frequency density.

Key terms · tap one for its definition

class interval

A class interval is a range of values, such as 10≤t<3010\le t<3010≤t<30, that groups data in a table or histogram.

histogram

A histogram is a diagram of touching bars for grouped data, with the area of each bar showing the class frequency.

frequency density

The frequency density of a class is its frequency divided by its class width.

Part 3 done

4

Part 4 of 5: A box plot shows median, quartiles and outliers

Histograms show shape, but sometimes you only need a summary. A box plot displays five values: the minimum, lower quartile, median, upper quartile and maximum. The box runs from the lower to the upper quartile, with a line at the median.

A quartile splits ordered data into four equal parts. The lower quartile Q1Q_1Q1​ has a quarter of the data below it. The upper quartile Q3Q_3Q3​ has a quarter above it. The interquartile range is IQR=Q3−Q1\mathrm{IQR}=Q_3-Q_1IQR=Q3​−Q1​.

Figure 2. The box spans the quartiles, the line inside it marks the median, and the whiskers reach the minimum and maximum.

Whiskers reach the smallest and largest values that are not outliers. An outlier is a value more than 1.5×IQR1.5\times\mathrm{IQR}1.5×IQR above Q3Q_3Q3​ or below Q1Q_1Q1​. Mark outliers with a cross.

Worked example

Finding an outlier

Consider the data 4, 6, 7, 9, 10, 12, 13, 14, 16, 18, 31. Find the quartiles and decide whether 31 is an outlier.
  1. 1
    There are 11 values, so the median is the 6th value: 12.
  2. 2
    Lower half: 4, 6, 7, 9, 10, so Q1=7Q_1=7Q1​=7. Upper half: 13, 14, 16, 18, 31, so Q3=16Q_3=16Q3​=16.
  3. 3
    IQR=16−7=9\mathrm{IQR}=16-7=9IQR=16−7=9.
  4. 4
    Upper limit: 16+1.5×9=29.516+1.5\times9=29.516+1.5×9=29.5. Since 31>29.531>29.531>29.5, the value 31 is an outlier.
  5. 5
    Lower limit: 7−1.5×9=−6.57-1.5\times9=-6.57−1.5×9=−6.5, so there is no low outlier.

Answer: The value 31 is an outlier. The whiskers run from 4 to 18.

Key terms · tap one for its definition

box plot

A box plot is a diagram of the minimum, lower quartile, median, upper quartile and maximum, drawn on a number line.

quartile

A quartile is one of three values that split ordered data into four parts, each holding a quarter of the data.

outlier

An outlier is a value more than 1.5×IQR1.5\times\mathrm{IQR}1.5×IQR above the upper quartile or below the lower quartile.

Part 4 done

Quick check

One question on the part you just read

Easy

State what frequency means in a frequency table.
Show answer and explanation

Answer: D · Worked explanation

The frequency of a value is a count of how many data items take that value, or fall in that class. The value that occurs most often is a different idea. The total of the values and the largest minus the smallest are sums and differences of the data themselves, not counts.
5

Part 5 of 5: The best display depends on the data and the question

You now have three displays. Match each one to the type of data and to what you want to show.

Three ways to display data

DisplaySuitsShows well
Bar chartCategories or discrete dataFrequency of each value
HistogramGrouped measured dataShape, with area as frequency
Box plotNumerical dataMedian, spread and outliers
Display
Bar chart
Suits
Categories or discrete data
Shows well
Frequency of each value
Display
Histogram
Suits
Grouped measured data
Shows well
Shape, with area as frequency
Display
Box plot
Suits
Numerical data
Shows well
Median, spread and outliers

To compare two data sets, draw two box plots on the same scale. Compare the medians for the typical value and the interquartile ranges for the spread. Mention any outliers.

Grouped displays hide the original values. A histogram can show that most journeys last under 30 minutes, but not the exact times.

Exam tip

When comparing, use words such as higher median and larger spread. Refer to both data sets in each statement.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[2 marks]

    Describe how a frequency table is made from raw data.

    Show mark schemeHide mark scheme

    Model answer

    List each distinct value. Count how many times each value occurs and write this frequency beside it, checking that the frequencies add up to the number of items.

    • 1 mark for listing each value and counting how often it occurs
    • 1 mark for recording the frequencies and checking that they sum to the total number of items
  2. 2.Distinguish[3 marks]

    Distinguish between a bar chart and a histogram.

    Show mark schemeHide mark scheme

    Model answer

    A bar chart has separate bars with gaps and suits categories or discrete data. A histogram has touching bars and suits grouped measured data. When class widths differ, a histogram uses frequency density for the bar height.

    • 1 mark for stating that bar charts have gaps between bars and histograms have none
    • 1 mark for stating that bar charts suit categories or discrete data and histograms suit grouped measured data
    • 1 mark for stating that histogram bars use frequency density when class widths are unequal
  3. 3.Calculate[2 marks]

    Calculate the frequency density of a class of width 10 with frequency 45.

    Show mark schemeHide mark scheme

    Model answer

    frequency density=4510=4.5\mathrm{frequency\,density}=\frac{45}{10}=4.5frequencydensity=1045​=4.5.

    • 1 mark for dividing the frequency by the class width
    • 1 mark for obtaining 4.5
  4. 4.Determine[3 marks]

    Determine whether 38 is an outlier in a data set with Q1=14Q_1=14Q1​=14 and Q3=22Q_3=22Q3​=22.

    Show mark schemeHide mark scheme

    Model answer

    IQR=22−14=8\mathrm{IQR}=22-14=8IQR=22−14=8. The upper limit is 22+1.5×8=3422+1.5\times8=3422+1.5×8=34. Since 38>3438>3438>34, the value 38 is an outlier.

    • 1 mark for finding IQR=8\mathrm{IQR}=8IQR=8
    • 1 mark for finding the upper limit of 34
    • 1 mark for concluding that 38 is an outlier because it is above the limit
  5. 5.State[1 mark]

    State what the box in a box plot covers.

    Show mark schemeHide mark scheme

    Model answer

    The box covers the middle half of the data, from the lower quartile to the upper quartile.

    • 1 mark for stating that it extends from the lower quartile to the upper quartile, containing the middle half of the data
  6. 6.Compare[3 marks]

    Compare Class A, with median 62 and interquartile range 10, with Class B, with median 70 and interquartile range 20.

    Show mark schemeHide mark scheme

    Model answer

    Class B has the higher median, so its typical result is higher. Class B also has the larger interquartile range, so its results are more spread out. Class A is more consistent.

    • 1 mark for stating that Class B has the higher median and so a higher typical value
    • 1 mark for stating that Class B has the larger interquartile range and so more spread
    • 1 mark for relating the smaller interquartile range to greater consistency in Class A

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the five values shown by a box plot.
Show answer and explanation

Answer: A · Worked explanation

A box plot displays the minimum, the lower quartile, the median, the upper quartile and the maximum. The mean and mode are not part of it, and class width and frequency density belong to histograms. The total of the data is also not shown.
4.

Medium·Calculate[1 mark]

A histogram class 10≤x<1510\le x<1510≤x<15 has frequency 18. Calculate its frequency density.
Show answer and explanation

Answer: A · Worked explanation

The class width is 15−10=515-10=515−10=5, so frequency density=185=3.6\mathrm{frequency\,density}=\frac{18}{5}=3.6frequencydensity=518​=3.6. The value 90 comes from multiplying frequency by width. The value 0.28 comes from dividing width by frequency, which turns the fraction upside down.
5.

Medium·Determine[1 mark]

A frequency table shows the number of siblings: 0 siblings has frequency 3, 1 has 8, 2 has 6, 3 has 2 and 4 has 1. Determine how many students have at least 2 siblings.
Show answer and explanation

Answer: B · Worked explanation

At least 2 siblings includes the values 2, 3 and 4, so add 6+2+1=96+2+1=96+2+1=9. The value 3 counts only students with more than 2 siblings. The value 11 counts students with fewer than 2 siblings. The value 17 is the total of 20 minus the 3 students with no siblings.
6.

Medium·Determine[1 mark]

A data set has Q1=30Q_1=30Q1​=30 and Q3=46Q_3=46Q3​=46. Determine which value is an outlier.
Show answer and explanation

Answer: D · Worked explanation

The interquartile range is 46−30=1646-30=1646−30=16, so the upper limit is 46+1.5×16=7046+1.5\times16=7046+1.5×16=70. Only 74 lies above 70, so it is an outlier. The values 54, 62 and 68 all lie below the upper limit, so they sit inside the whisker range.
7.

Medium·Identify[1 mark]

Identify the display best suited to comparing the median and spread of two groups on one scale.
Show answer and explanation

Answer: B · Worked explanation

Box plots show the median and the interquartile range directly, and two of them can share one scale for comparison. A bar chart shows counts for separate values. A frequency table lists the data without making the median and spread easy to compare.
8.

Hard·Predict[2 marks]

One class is 0≤x<100\le x<100≤x<10 with frequency 20. Another is 10≤x<3010\le x<3010≤x<30 with frequency 40. Predict how the heights of their histogram bars compare.
Show answer and explanation

Answer: A · Worked explanation

The frequency densities are 2010=2\frac{20}{10}=21020​=2 and 4020=2\frac{40}{20}=22040​=2, so the bars are equally tall. The second bar is twice as wide, which accounts for its doubled frequency. Heights follow frequency density, not frequency, when widths differ.
9.

Hard·Determine[2 marks]

The data are 3, 5, 6, 8, 9, 11, 12, 20. Determine the value at the upper end of the whisker.
Show answer and explanation

Answer: A · Worked explanation

The quartiles are Q1=5.5Q_1=5.5Q1​=5.5 and Q3=11.5Q_3=11.5Q3​=11.5, so IQR=6\mathrm{IQR}=6IQR=6 and the upper limit is 11.5+9=20.511.5+9=20.511.5+9=20.5. Since 20 is below 20.5, it is not an outlier and the whisker reaches 20. The value 12 would be correct only if 20 were an outlier. The value 20.5 is the limit, not a data value.
10.

Hard·Calculate[2 marks]

A histogram has classes 0≤x<200\le x<200≤x<20 with frequency density 0.5, 20≤x<2520\le x<2520≤x<25 with 2.4 and 25≤x<3525\le x<3525≤x<35 with 1.5. Calculate the total frequency.
Show answer and explanation

Answer: D · Worked explanation

Frequency equals density times width: 0.5×20=100.5\times20=100.5×20=10, 2.4×5=122.4\times5=122.4×5=12 and 1.5×10=151.5\times10=151.5×10=15. The total is 10+12+15=3710+12+15=3710+12+15=37. The value 4.4 adds the densities, which are not frequencies. The value 35 adds the class widths. The value 15 is only the largest class frequency.

Keep going

Next topic4.3 Measures of central tendency and spreadPrevious topic4.1 Sampling concepts

More in Topic 4 · Statistics and probability

  1. 4.1Sampling conceptsNotes · 10 questions
  2. 4.2Presenting dataNotes · 10 questions
  3. 4.3Measures of central tendency and spreadNotes · 10 questions
  4. 4.4Correlation and regressionNotes · 10 questions
  5. 4.5Probability conceptsNotes · 10 questions
  6. 4.6Combined events and diagramsNotes · 10 questions
  7. 4.7Discrete random variablesNotes · 10 questions
  8. 4.8Binomial distributionNotes · 10 questions
  9. 4.9Normal distributionNotes · 10 questions

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A frequency table organises raw data into counts
  2. 2A bar chart shows frequency for separate values
  3. 3Histograms show grouped measured data using frequency density
  4. 4A box plot shows median, quartiles and outliers
  5. 5The best display depends on the data and the question
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe