In order to understand bin we first need to know what a histogram is. A histogram is a graphical representation of a data set, showing the frequency of occurrence. The y axis has the frequency and x axis has the data spread in ranges. The intervals into which the entire range of the data is split into is called as the bin. Then from the data set, all the numbers that exist in a particular bin are then counted to find the frequency.