How to Create a Stem-and-Leaf Plot in SPSS

A stem-and-leaf plot is a graphical representation of data that is created using SPSS. To create a stem-and-leaf plot, you need to enter your data into SPSS and select the stem-and-leaf plot option from the Graphs menu. In the dialog box, you can select the variable you want to use to create the plot and customize the display options. Once you have set up the plot, you can view the graph and save it for future use.


A  displays data by splitting up each value in a dataset into a stem and a leaf. It’s a useful plot for easily visualizing the distribution of a dataset.

This tutorial explains how to create a stem-and-leaf plot in SPSS.

Example: Stem-and-Leaf Plot in SPSS

Suppose we have the following dataset that shows the average points per game for 16 basketball players:

Raw data in SPSS

To create a stem-and-leaf plot for this dataset, click the Analyze tab, then Descriptive Statistics, then Explore.

Descriptive statistics explore tab in SPSS

This will bring up the following window:

To create a stem-and-leaf plot, we need to drag the variable points into the box labelled Dependent List. Then we need to make sure Plots is selected under the option that says Display near the bottom of the box.

Once we click OK, the following stem-and-leaf plot will appear:

Stem-and-leaf plot in SPSS

The Stem column displays the first digit for each data value while the Leaf column displays the second digit.

For example, the first leaf shown in the first row represents the player who averages 5 points per game:

Interpreting a stem-and-leaf plot in SPSS

And the last leaf shown in the last row represents the player who averages 31 points per game:

Stem-and-leaf plot in SPSS

This simple plot helps us get an idea of the distribution of the points scored by the 16 players in this dataset.

x