We know that, the areas of the rectangles are proportional to the frequencies in a histogram.
Here, the widths to the rectangles are varying, so we need to make certain modifications in the lengths of the rectangles, so that the areas are again proportional to the frequencies :
1. Select a class interval with the minimum class size. The minium class size is 1.
2. The lengths of the rectangles are then modified to be proportionate to the class size 1.
Now, we get the following table:
So, the correct histogram with varying width is given ahead.