I. Rectangular bars of equal width II. The height of each rectangular bar is proportional…