# How to Make a Bar Chart in SPSS

Probability and Statistics Index > IBM SPSS Statistics menu > How to Make a Bar Chart in SPSS

## How to Make a Bar Chart in SPSS

A bar chart is a type of graph that displays statistical data. When you make a bar chart in SPSS, the x-axis is a categorical variable and the y-axis represents summary statistics such as means, sums or counts. Bar charts are accessed in SPSS through the Legacy dialogs command or through the Chart Builder.

## How to Make a Bar Chart in SPSS: Steps

Watch the video to learn how to use the SPSS chart builder, or read below for how to make a bar chart in SPSS with the Legacy Dialog.

Step 1: Open the file you want to work with in SPSS or type the data into a new worksheet.

Step 2: Click “Graphs,” then click “Legacy Dialogs” and then click “Bar” to open the Bar Charts dialog box.

Step 3: Click on an image for the type of bar graph you want (Simple, Clustered, or Stacked) and then click the appropriate radio button tell SPSS what type of data is in your variables lists: Summaries for groups of cases, Summaries of separate variables or Values of individual cases. When you have made your selections, click the “Define” button.

Step 4: Click a radio button in the Bars Represent area to choose what you would like the bars to represent. For example, if you want the bars to represent the number of cases, click the “N of cases” radio button.

Step 5: Click a variable in the left-hand window in the “Define Simple Bar” pop-up window and then transfer those variables by clicking the appropriate center arrow. For this simple example, click “Grade Point Average” and then click the arrow to the left of “Category Axis.” When you have made your selections, click “OK.” This will produce a graph of the number (counts) of each grade point average.

The SPSS Define Simple Bar window.

SPSS Bar Chart output showing number of cases of GPAs.

------------------------------------------------------------------------------

If you prefer an online interactive environment to learn R and statistics, this free R Tutorial by Datacamp is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try this Statistics with R track.