In SPSS, I want to create a bar chart that includes 4 variables on x axis
How to do it? Is it possible?
Mine is version 23
First, I have a set of nominal and dicothomous variables (yes/no) which is 0=No 1=Yes:
(1) Diabetic pill
(3) Hypertension pill
(4) Cholesterol pill
In SPSS data, (1)-(4) is in separate column.
What I want: I want to create one bar chart with all four variables in it. The four bars should show frequencies, i.e. the height of each bar indicates the total number of "Yes" and "No" for variables (1)-(4).
Please help me. I've search through google and other forum i just dont understand how to code it on syntax editor. Even in chart builder, it wont let me put more than 1 variable in x axis.