- Minitab: Stacked Bar Chart

Minitab 18

Minitab®  – Stacked Bar Chart (Raw Data)

This example will use data collected from a sample of students enrolled in online sections of STAT 200. 


To create a stacked bar chart of the Work Status and Primary Campus variables in Minitab:

  1. Open the data file in Minitab
  2. Select Graph > Bar Chart > Counts of Unique Values
  3. Select Multiple Variables
  4. Click OK
  5. Double click the variables Work Status and Primary Campus to insert them both into the Categorical variables box on the right
  6. Under Display categorical variables select Last variable stacked
  7. Click OK

This should result in the stacked bar chart below:

Stacked bar chart of work status by primary campus
Video Walkthrough


Note: The order in which the variables are entered into the Categorical variables box in Minitab determines how the bars will be clustered. For example, if we entered Primary Campus and then Work Status, the result would be the following clustered bar chart:

Stacked bar chart of primary campus by work status

Summarized Data Section

In the example above, raw data were used. In other words, our Minitab worksheet contained one row for each case. It is also possible to use Minitab to construct a stacked bar chart with summarized data, for example, if you have data in a frequency table. To do this, select Graph > Bar Chart > Summarized Data in a Table > Two-Way Table > Clustered or Stacked. Double click each of your variables to move them into the Y-variables box. Move the column containing row labels into the Row labels box. Select Stack variables. The default is to Stack Y-variables; you can flip the variables by changing this to Stack rows.