Nice techniques. To make it look more like a histogram, use the BARWIDTH=1 option to eliminate the gaps between bars.…