What is a histogram?
Definition: A histogram is a bar graph of a frequency distribution.
Each bar represents a class, with height = frequency (or relative frequency).
The cumulative-frequency curve (ogive): read the median and quartiles by going up to the curve, then across.
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
Key difference: Bars in histograms TOUCH (continuous data).
Bars in bar charts have gaps (categorical data).
| Feature | Histogram | Bar chart |
|---|---|---|
| Data type | Continuous/grouped | Categorical |
| Bars touch? | Yes | No |
| Shows | Frequency distribution | Counts of categories |
Reading histograms: The classes all have the same width, so the height of each bar is the frequency of its class.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
Drawing histograms
Steps: 1.
Find frequency for each class 2.
Choose y-axis scale (frequency or relative frequency) 3.
Draw bars touching each other, height = frequency 4.
Label axes, title, include units
Worked example: draw histogram
The frequency table below shows a set of grouped data.
| Class | [10-20) | [20-30) | [30-40) |
|---|---|---|---|
| Frequency | 4 | 7 | 5 |
Draw a histogram to represent this data.
Solution
- Set up axes: x-axis shows class intervals, y-axis shows frequency
- Bar 1: [10-20) height=4
- Bar 2: [20-30) height=7 (tallest)
- Bar 3: [30-40) height=5
- Bars touch to show continuous data
Final answer
Histogram complete with all bars touching and correct heights.
Stop wasting time on topics you know
Our AI identifies your weak areas and focuses your study time where it matters. No more overstudying easy topics.
Cumulative frequency and ogives
Ogive (cumulative frequency curve): A smooth curve connecting points of cumulative frequency.
Used to find medians, quartiles, and percentiles.
Worked example: draw cumulative frequency curve
Classes [10-20), [20-30), [30-40) with cumulative frequencies 4, 11, 16.
Plot ogive.
Solution
- Plot cumulative frequency at upper class boundary
- Point 1: x=20, y=4
- Point 2: x=30, y=11
- Point 3: x=40, y=16
- Connect with smooth curve (not straight lines)
Final answer
Ogive shows cumulative trend. Rising from left to right, gradually flattening.
Reading from ogive: Find median: locate n/2 on y-axis, read x-value.
Similarly for quartiles.
Equal class widths: height = frequency
Equal widths: the bar height is the frequency: Every histogram on an AI paper has classes of the same width, so the height of each bar is the frequency of its class. Read the height against the frequency axis.
Worked example: from a histogram to cumulative frequencies
A histogram shows the masses, m kg, of 60 dogs. The classes 50 ≤ m < 60, 60 ≤ m < 70, 70 ≤ m < 80 and 80 ≤ m < 90 have bars of height 12, 18, 14 and 16.
Find the cumulative frequencies, and the number of dogs of 70 kg or more.
Step by step
- Each bar height is a frequency: add them as you go.
- The last cumulative frequency is the total: check it.
- 70 kg or more: the last two classes.
Final answer
Cumulative frequencies 12, 30, 44, 60; 30 dogs weigh 70 kg or more.
Not on the AI papers: Histograms with unequal class widths (frequency density) are not part of AI SL or AI HL.
See how examiners mark answers
Answer exam-style questions with model answers. Learn exactly what earns marks and what doesn't.
Positions on the up axis, answers on the across axis: For n values: the median is across from n ÷ 2, the lower quartile Q1 from n ÷ 4 and the upper quartile Q3 from 3n ÷ 4. Go across to the curve, then down, and read the value.
Animated graph
Watch the graph build step by step in study mode.
IQR = Q3 − Q1: Subtract the two values you read on the horizontal axis. The range = largest value − smallest value (where the curve starts and ends).
Animated graph
Watch the graph build step by step in study mode.
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Study smarter, not longer
Most students waste 40% of study time on topics they already know. Our AI tracks your progress and optimizes every minute.
Exam-style question — commuting times [7 marks]
The journey times, t minutes, of 200 commuters are shown by a cumulative frequency curve that passes through these points.
| t (minutes) | 0 | 20 | 30 | 45 | 60 | 80 |
|---|---|---|---|---|---|---|
| Cumulative frequency | 0 | 50 | 100 | 150 | 180 | 200 |
(a) Find the median journey time. [1]
(b) Find the interquartile range. [2]
(c) Find the number of commuters whose journey takes more than 60 minutes. [2]
(d) Find the 90th percentile. [2]
Step by step
- (a) Half of 200 is 100: across from 100, then down.
- (b) Q1 is across from 50 and Q3 from 150.
- (c) 180 commuters take 60 minutes or less; the rest take longer.
- (d) 90% of 200 is 180: across from 180, then down.
Final answer
(a) 30 minutes (b) 25 minutes (c) 20 (d) 60 minutes