*43*

AÂ **histogramÂ **is a type of chart that uses rectangular bars to represent frequencies. Itâ€™s a helpful chart for visualizing the distribution of values in a dataset.

This tutorial explains how to create and modify histograms in SPSS.

**Example: Histograms in SPSS**

Suppose we have the following dataset that shows the average number of points scored per game by 20 different basketball players:

To create a histogram for this dataset, we can click on theÂ **GraphsÂ **tab, thenÂ **Chart Builder**.

In the window that pops up, selectÂ **HistogramÂ **in theÂ **Choose from** list and drag it into the editing window. Then drag the variable **points** into the x-axis:

Once you clickÂ **OK**, the following histogram will appear:

By default, SPSS chooses an interval width to use for the bars in the graph. However, you can change this width by right clicking on any of the bars in the graph and then clickingÂ **Edit Content > In Separate Window**.

In the new window that pops up, double click on any of the bars to bring up aÂ **PropertiesÂ **window. You can then choose the exact interval width youâ€™d like to use. For example, we could use a width ofÂ **2**:

Once we clickÂ **Apply**, the histogram will be updated with a new interval width of 2:

Note that the smaller the interval width, the more bars will appear in the histogram. The larger the interval width, the fewer bars will appear in the histogram.