Geogebra:
dt={1,2,2,2,2,4,5,5,6,6,7,7,7,8,8,8,9,9,10,11,12,21}
h=Histogramm({0,5,10,15,20},dt,true,5)