A random survey of the number of children of various age groups playing in park was found as follows:
Age (in years) |
Number of children |
1 − 2 2 − 3 3 − 5 5 − 7 7 − 10 10 − 15 15 − 17 |
5 3 6 12 9 10 4 |
Draw a histogram to represent the data above.
Here, it can be observed that the data has class intervals of varying width. The proportion of children per 1 year interval can be calculated as follows.
Age (in years) |
Frequency (Number of children) |
Width of class |
Length of rectangle |
1 − 2 |
5 |
1 |
|
2 − 3 |
3 |
1 |
|
3 − 5 |
6 |
2 |
|
5 − 7 |
12 |
2 |
|
7 − 10 |
9 |
3 |
|
10 − 15 |
10 |
5 |
|
15 − 17 |
4 |
2 |
Taking the age of children on x-axis and proportion of children per 1 year interval on y-axis, the histogram can be drawn as follows.