The HistogramFunction does exactly what it's name suggests: It creates a histogram from single series X or Y values.