Create a bar chart of a function of a single Y variable: clustered

Complete the following steps to create a bar chart that displays a function of a continuous variable, grouped by the values of a categorical variable, and clustered by the values of another categorical variable. If your data are arranged differently, go to Choose a bar chart.

  1. Open the dialog box.
    • Mac: Choose Graphs > Bar Chart > Mean or other function of a continuous variable > Single Y variable: Clustered.
    • PC: Choose GRAPHS > Bar Chart > Function of a variable > Single Y Variable: Clustered.
  2. In Function, select the function of the continuous variable that you want to graph.
  3. In Continuous variable, enter the column of measurement data that you want to graph.
  4. In Categorical variables, enter two columns of categorical data that define the groups. The variable that you enter first becomes the outermost variable on the axis. For more information, go to Interpret the key results for Bar Chart and click Step 2: Compare groups within groups.

In the following worksheet, LightOutput is the continuous variable and contains light output measurements. Temperature and GlassType are the categorical variables and indicate the temperature level and glass type for each light output measurement. The graph shows the mean light output for each combination of glass type and temperature level. Temperature is the outermost variable on the axis.

C1 C2 C3
LightOutput Temperature GlassType
580 100 1
1090 125 1
1392 150 1
... ... ...
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy