Graphs of quantitative data
In this lesson, you will learn
- How to graph quantitative data with a histogram
- How to graph quantitative data with a frequency polygon
- What a break, or truncation, in the axis means
- The difference between frequency, relative frequency and percentage graphs
Graphs of quantitative data, also called grouped data, can be displayed using a histogram or a polygon.
How to Graph Quantitative Data
- Put the classes on the horizontal axis.
- You can either put the frequency distribution, the relative frequency, or the percentage on the vertical axis.
In the lesson about construction of a frequency distribution, we ended with this table showing the frequency distribution, the relative frequency, and the percentage distribution.

Let us make use of a histogram and a polygon to display the data. There is little difference between the two graphs except that the histogram uses rectangles, but the polygon uses dots.
In both cases, we will use the frequency distribution to make the graphs.
Histogram
First, put the classes on the horizontal axis. Second, put the frequencies on the vertical axis.
Finally, draw a rectangle for each class so that the height of the rectangle is the same as the frequency of that class.

Notice that all the rectangles are adjacent and they have no gaps between them unlike a bar graph.
Notice that the numbers from 0 to 8 are not shown on the horizontal axis.
Notice also that right before the first rectangle on the left, there are 2 small parallel lines making the horizontal axis discontinuous.
We call this a break or a truncation in the axis. Whenever some numbers are not shown on the horizontal or x-axis, we will truncate the x-axis.
This histogram above is called a frequency histogram.
If you had used the relative frequency to make the histogram, you would call the graph a relative frequency histogram.
If you had used the percentage to make the histogram, you would call the graph a percentage histogram.
Leaving gaps between the rectangles of a histogram. The classes follow each other with no space between them, so the rectangles touch. Gaps belong to bar graphs of categories.
In a relative frequency histogram of this data, how tall is the rectangle over 20–30?
Show answer
0.20. The relative frequency of 20–30 is 10 ÷ 50 = 0.20.
Polygon
To draw a polygon, just use dots instead of rectangles.
Place a dot right above the midpoint of each class.
The height of the dot should be equal to the frequency of that class.
- Midpoint of the class: (9 + 19) ÷ 2 = 28 ÷ 2 = 14.
- Frequency of the class: 13.
The dot goes right above 14, at a height of 13.
Create 2 more classes. The first one is created before 9–19 and the second is created after 64–74. Both of these classes will have a frequency of 0.
Connect all the dots with straight lines.

Notice that this time, we did not truncate the x-axis since all the values on the x-axis are used.
The graph above is called a frequency polygon or simply a polygon.
If you had used the relative frequency to make the polygon, you would call the graph a relative frequency polygon.
If you had used the percentage to make the polygon, you would call the graph a percentage polygon.
Why does the polygon get an extra class before 9–19 and after 64–74, both with a frequency of 0?
Show answer
So that the polygon starts and ends on the horizontal axis. The line comes down to 0 at both ends and closes the shape.
Summary
- Put the classes on the horizontal axis, and the frequency, the relative frequency or the percentage on the vertical axis.
- A histogram uses touching rectangles as tall as the frequency of each class.
- A break (truncation) in the axis shows that some numbers, such as 0 to 8, are not shown.
- A polygon puts a dot above the midpoint of each class and adds an empty class at each end.
- The graph is named after what is on the vertical axis: frequency, relative frequency or percentage.
Test Yourself: Interactive 10-Question Quiz
Now check what you learned. Every answer is explained, and each time you play you get new questions.
Quiz complete!
Where Am I in Math? Free Level Test
Find your level from whole numbers to Algebra 2. Free printable PDF with answer key. What is in the test?