A random survey of the number of children of various age groups playing in a park was found as follows:
Draw a histogram to represent the data above.
We can see that class intervals are not of the same size. So, the widths of the rectangles would not be same in this case if we construct a histogram. It would contradict with the general definition of the histogram which is that area of rectangles are proportional to the corresponding frequencies. To avoid this contradiction, we will adjust the lengths of the rectangles.
Now, we can construct a histogram using widths and lengths of rectangles.