Create a bar chart of a function of multiple Y variables: clustered

Complete the following steps to create a bar chart that displays a function of multiple continuous variables, clustered by the values of a 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 > Multiple Y variables: Clustered.
    • PC: Choose GRAPHS > Bar Chart > Function of a variable > Multiple Y Variables: Clustered.
  2. In Function, select a function of the continuous variables that you want to graph.
  3. In Continuous variables, enter the columns of measurement data that you want to graph.
  4. In Categorical variable, enter the column of categorical data that defines the groups.

In the following worksheet, Week 1, Week 2, and Week 3 are the continuous variables. These columns contain diameters of plastic pipes that are manufactured each week for three weeks. Machine is the categorical variable and indicates whether the pipes are produced by machine 1 or machine 2. The graph shows the mean diameter of pipes for each machine, clustered by week.

C1 C2 C3 C4
Week 1 Week 2 Week 3 Machine
5.19 5.57 8.73 1
5.53 5.11 5.01 2
4.78 5.76 7.59 1
... ... ... ...
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy