How to create a histogram.