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.
Quick answer: How do you make charts in SPSS Chart Builder?
- Click Graphs › Chart Builder.
- Choose a chart type from the Gallery and drag it onto the canvas.
- Drag variables onto the X and Y axes.
- Use Element Properties to add error bars, then click OK.
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
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.