Build a histogram of numbers.