How to Create a Bar Chart in SPSS - Bar Graph - YouTube

Channel: unknown

[0]
In this tutorial we'll look at how to construct a Bar Graph in SPSS. And here
[7]
we have the variable car color where we have 15 different cars that were
[12]
observed as people drove by someone noted the color of the car and what I've
[19]
done in this example is I've already entered my value labels.
[23]
So for example if I click on this button right up here then I'll see the colors
[30]
that the different numbers correspond to.
[33]
So notice we have one, two, three, four white cars were observed and so forth.
[40]
I'm going to turn these off for now but you'll see how they're very useful in
[45]
just a moment when we produce our Bar Graph. To produce a bar graph let's go to
[49]
Analyze and then Descriptive Statistics and we can actually use the Frequencies
[56]
command to produce a Bar Graph and then we can also use the Graphs I'll show you
[61]
both ways. So we'll start with this Analyze, Descriptive Statistics,
[65]
Frequencies and then here I'm going to - you should see your window look like
[71]
this -
[72]
I'm going to move car color over to the Variables box. Select Charts and then
[77]
here we want to select a Bar Charts. Click Continue.
[82]
Let's de-select the Display frequency tables and then click OK. And
[91]
notice here in this case we get a Bar Chart where the variable is car_color on
[97]
the X-axis the frequency is on the Y- axis we have our different car colors
[102]
here and and the height of the bar indicates the frequency or how many of
[109]
each color car was observed.
[112]
So we have two black cars were observed for white cars, six blue cars, two red cars,
[122]
and one green car.
[125]
Now many of the options on this chart can be modified and I'll show you one
[131]
quick modification we can make. If I double-click on this chart
[135]
what will happen is the Chart Editor will open as you see here and I'm going
[140]
to double click on any of these bars. And when I do that the Properties dialog box
[146]
opens.
[147]
Let's go ahead and go to Fill & Border. Click on that tab and then I'll select
[152]
this blue color right here and then click Apply and close this out.
[159]
Notice what happened here now my bars are blue. This is one of the many options
[163]
that can be modified in our charts.
[167]
Let's go ahead and close this out so click X and then now we have our chart
[171]
and notice the blue color has been applied. As I said at the beginning I was
[176]
going to show you how to obtain this exact same chart using the Graphs menu
[180]
command.
[181]
So let's go to Graphs. Go to Legacy Dialogs and then go to Bar. Now here a
[188]
Bar charts dialog box opens and I want to leave the Simple and Summaries for
[193]
groups of cases default options in place. So just click Define. And then here
[201]
what we want to do, you should see a window like this with car color on the
[204]
left,
[205]
go ahead and move that to the Category Axis box and then click OK. And you should see
[212]
that this gives us the exact same bar chart with the only exception is that I
[217]
haven't modified the color to be blue and I won't do that now
[222]
but you saw how to do that so I think you could do that as well. OK so we saw
[226]
how to obtain a bar chart using two different approaches. Both the
[231]
Frequencies procedure and using the Graphs Legacy Dialogs command.
[238]
This concludes the tutorial on obtaining a bar chart in SPSS.