Descriptive statistics

A histogram has unequal class widths. Which quantity should determine the area of each bar so that area represents frequency?