How can I draw a histogram to illustrate the information? How do I calculate the median age of the population?

We can see from the question that we have 8 class intervals, and they are all of the same lengths. We have the frequency for age in each interval.
We need to remember that a histogram is similar to a bar plot. However, it does not have any description on the x-axis. Instead, it will have the given class intervals.
In this case, we have that the class intervals do not overlap, and it is easier to graph the histogram as follows:
1. We need to graph the class intervals on the x-axis, and then we have to draw the frequencies for each interval on the y-axis.