Theory
Frequency tells us how many values fall in a group. Cumulative frequency is a running total: add each frequency to all the frequencies before it.
For frequencies 5, 5, 10 and 20, the cumulative frequencies are 5, 10, 20 and 40. The last running total is the number of values, n = 40.
To draw a cumulative frequency graph for grouped continuous data, plot each running total against the upper class boundary. Start at the lowest boundary with cumulative frequency zero, then join the points with an appropriate increasing curve or line.
For a total of n values, the median is estimated at cumulative frequency n/2, the lower quartile Q1 at n/4 and the upper quartile Q3 at 3n/4. These numbers are positions on the vertical axis, not the answers themselves.
From each position, go across to the graph and then down to the horizontal axis to estimate the value. The interquartile range (IQR) is Q3 - Q1 and measures the spread of the middle half of the data.
The graph can also estimate how many values are below a given value. To estimate how many are above it, subtract the cumulative frequency from the total. Values between two boundaries are found by subtracting their cumulative frequencies.
Because grouped data does not give each individual value, readings between plotted boundaries are estimates. A graph cannot tell us the exact original values.