DP Math AA · HL / SL · Statistics & Probability

SL 4.2—Histograms, CF graphs, box plots

Get started
Notes Quiz

Introduction to Frequency Distributions

Before we can draw any graphs, we need to organise raw data into a frequency distribution , a structured table that groups data and counts how often values occur.

For discrete data (countable values like number of siblings), the table lists:

  • Each possible value or category
  • Its frequency (count)
  • Its relative frequency (frequency ÷ total)

For continuous data (measured values like height or time), we group values into class intervals:

  • Each interval covers a range of values
  • Frequencies count how many observations fall within each interval
Note

In IB Math AA, class intervals for continuous data are written as inequalities with no gaps. For example: 100≤h<110, 110≤h<120, etc. The upper boundary of one interval is the lower boundary of the next , every data value fits into exactly one class.

Class Interval: A range of values used to group continuous data in a frequency table, written as an inequality such as a≤x<b, where a is the lower boundary and b is the upper boundary.

Relative Frequency: The proportion of the total observations that fall within a given class, calculated as: Relative Frequency=total frequencyfrequency​

Histograms

A histogram is the standard graph for displaying the frequency distribution of continuous data. It looks like a bar chart, but with one crucial difference: the bars are adjacent (no gaps), because the data is continuous.

Histogram: A graphical representation of a frequency distribution for continuous data, consisting of adjacent rectangles whose areas are proportional to the frequencies of their corresponding class intervals.

Key features of a histogram:

  • The x-axis shows the variable's values, with class interval boundaries marked
  • The y-axis shows frequency (for equal class widths, this is also proportional to area)
  • Each bar spans one class interval
  • Bar heights represent the frequency of that interval
  • No gaps between bars , this reflects that the data is continuous
Warning

Don't confuse a histogram with a bar chart. Bar charts are for categorical or discrete data and have gaps between bars. Histograms are for continuous data with no gaps. In IB exams, using a bar chart when a histogram is required (or vice versa) will lose marks.

Note

At IB SL level, all histograms you encounter will have equal class widths, so bar height directly represents frequency. You do not need to calculate frequency density (that is an A Level concept, not IB AA SL).

Histograms
Free preview

10 more sections in this topic

← Previous topicSL 4.1—Concepts, reliability and sampling techniquesNext topic →SL 4.4—Pearsons, scatter diagrams, eqn of y on x
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.