The screen below shows the histogram for the number of Years players had played in the Baseball data. Note that the Statistics box is X'd, so that the statistics appear in the top left. I chose 24 bins, since the values of Years went from 1 to 24.
Histograms are useful when comparing the same variable for two groups of observations.
For an example, compare the histograms for Height for Males and Females. That is, we want to look at Height controlling for Gender. See Figure 8. Now choose a variable, number of bins, and the Statistics box if you wish. The variable chosen is Height.