A histogram is a graphic representation of a variable in the shape of bars (rectangles).
They are used for continuous or discrete variables with a large quantity of data that is grouped into classes.
The base width of the bars (rectangles) are proportional to the class widths and the height is the absolute frequency of each interval.
The surface area of every bar is proportional to the frequency of the represented values.
The frequency polygon is formed by joining the class mark of the intervals by line segments.
The weight of 65 children is given by the following table:
Histogram and Polygon of a Cumulative Frequency
If the values from a cumulative frequency table are represented graphically, the result is a cumulative frequency histogram and its corresponding polygon.
Histograms with Different Class Widths
To construct histograms with different class widths, calculate the heights of the rectangles of the histogram.
hi is the height of the interval.
fi is the absolute frequency of the interval.
ai is the class width.
The following table shows the test scores (out of 10) of a group of 50 students.