Sturges' rule

Sturges' rule

a guide as to the number of categories into which a set of data should be divided for analysis or presentation:$$\hbox{number of categories }=1+ 3.3\ \hbox{\log\ N}$$
where N = number of individuals in collected data.