For a histogram based on a frequency distribution with unequal class intervals, the frequency of a class should be proportional to:
1. the height of the rectangle.
2. the area of the rectangle.
3. the width of the rectangle.
4. the perimeter of the rectangle.