How to choose the bins of a histogram?
3 min readNov 22, 2021
Histograms are a very useful tool when we want to give a quick sight to the shape of our data. However, we always have to choose the right number of bins.
What is a histogram?
A histogram is a representation of the probability distribution of a dataset. Given a bin width, the range of the variable is split into non-overlapping intervals of that width and…