Stacked Bar Summaries for Groups of Cases

  1. Select a variable for the category axis and move it into the Category Axis field. This variable may be numeric, string, or long string.
  2. Select one of the alternatives in the Bars Represent group to specify how the data are represented on the scale axis.

    If the scale axis displays a function of another summary variable, select Other statistic (e.g., mean) and then select a numeric variable to be summarized. To change the summary function, click Change Statistic.

  3. Select a stack variable and move it into the Define Stacks By field. This variable may be numeric, string, or long string. Each stack consists of a bar divided into segments stacked on top of one another. The height of each segment represents its value. There is one stacked bar at every level of the category variable.

To panel the chart, move one or more categorical variables into the Panel By group. See the topic Paneled Charts for more information.