Unit 2 · Describe your data

How to make charts in SPSS Chart Builder

Choose the right SPSS chart: histograms, bar charts with error bars, scatterplots and boxplots in Chart Builder.

Free tutorialPro practiceAbout 5 minutes7 practice questions

Quick answer: How do you make charts in SPSS Chart Builder?

  1. Click Graphs › Chart Builder.
  2. Choose a chart type from the Gallery and drag it onto the canvas.
  3. Drag variables onto the X and Y axes.
  4. Use Element Properties to add error bars, then click OK.

Last updated November 2026 · Not sure this is the right test? Try the Which statistical test? tool.

Choosing the right chart

A good chart shows the pattern a reader needs to see in one glance. The right type depends on what kind of variables you have and what comparison you want to show.

When to use it

  • Histogram: the shape of one Scale variable.
  • Bar chart with error bars: comparing group means.
  • Scatterplot: the relationship between two Scale variables.
  • Boxplot: comparing medians and spreads, and spotting outliers.
  • Clustered bar chart: two categorical variables.

How it works

In Chart Builder you drag a chart type onto the canvas, then drag variables onto the axes. SPSS uses each variable’s Measure setting to decide whether it’s treated as categories or numbers, so check Variable View first. Error bars usually show a 95% confidence interval: the range likely to contain the true population mean.

Worked example

To compare exam scores across Lecture, Seminar and Online teaching, use a bar chart of mean score by method with 95% CI error bars.

Key terms

Error bar
A line showing uncertainty around a mean, often a 95% CI.
Boxplot
Shows the median, quartiles and outliers.
Outlier (boxplot)
A circle beyond 1.5 box-lengths; an asterisk beyond 3.

Common mistakes

  • Pie charts for anything with more than a few categories.
  • Bar charts of means without error bars.
  • 3D effects and truncated axes that exaggerate differences.

How to do it in SPSS

Chart Builder

Graphs › Chart Builder makes nearly every chart you need for a report. Pick a chart type, then drag variables onto the axes.

Chart Builder
Variables:1
Teaching method [method]
Exam score (%) [score]
Revision hours [hours]
Y-Axis?3
X-Axis?
Gallery · Choose from:2
FavoritesBarLineAreaPie/PolarScatter/DotHistogramHigh-LowBoxplotDual Axes
Element Properties4Chart AppearanceOptions
OKPasteResetCancelHelp
  1. 1
    VariablesDrag from here onto the chart. The icon shows each variable's Measure, which decides where it can go.
  2. 2
    GalleryPick a chart type, then drag the picture you want onto the canvas above.
  3. 3
    Drop zonesDrag your grouping variable to X-Axis and your Scale variable to Y-Axis. SPSS shows the mean of each group by default.
  4. 4
    Element PropertiesChange what the bars show and tick Display error bars to add 95% confidence intervals.

If Chart Builder warns you about measurement levels, go back to Variable View and set Measure correctly first.

The SPSS syntax

Prefer typing to clicking? Open File › New › Syntax, paste this in, select it and choose Run › Selection. Every dialog's Paste button writes the same kind of code.

* Bar chart of mean score by teaching method, with 95% CI error bars.
GRAPH /BAR(SIMPLE)=MEAN(score) BY method
  /INTERVAL CI(95.0).

* Histogram and scatterplot.
GRAPH /HISTOGRAM=score.
GRAPH /SCATTERPLOT(BIVAR)=hours WITH score.

Practice data

Download the file used in this lesson and run it yourself in SPSS: you should get the same results as the screens above.

  • teaching.savExam scores by teaching method: Lecture, Seminar, Online (N = 60)

Now practise it interactively →

Reading is only half of it. Tap through the real SPSS menus, read the output and pick the right write-up in 7 quick questions, with instant feedback on every answer.

Practice for this lesson is part of Pro, with every unit, unlimited hearts and saved progress.

More in Describe your data