A histogram can be defined as a visual representation of data in form of bars of different heights. In histogram, each and every bar groups numbers into ranges. The greater the height of the bar, the larger the data falls into its range. It basically represents shape and spread of continuous data sample.