Create a simple bar chart

You can create a graph like the following example using data arranged in different layouts in the worksheet.

This bar chart compares the light output of oscilloscopes with three different types of face-plate glass.

To create a simple bar chart, choose the layout option that is similar to your worksheet.

Option 1

Follow these steps if your worksheet contains a column of measurement data and at least one column of categorical data for grouping. Minitab graphs a function of the data, such as the mean or the sum.

Example worksheet

C1 C2
LightOutput GlassType
550 1
1070 1
1328 3
... ...
  1. Choose Graph > Bar Chart.
  2. Under Bars represent, choose A function of a variable.
  3. Under One Y, choose Simple, then click OK.
  4. Under Function, choose the function of the graph variable that you want to graph. In the example, Mean is the function.
  5. Under Graph variables, enter a column of numeric or date/time data. In the example, LightOutput is the graph variable.
  6. Under Categorical variable, enter a column of categorical data. In the example, GlassType is the categorical variable.
  7. Click OK.

Option 2

Follow these steps if your worksheet contains multiple columns of measurement data and each column is a group. Minitab graphs a function of the data, such as the mean or the sum.

Example worksheet

C1 C2 C3
1 2 3
550 1035 1328
1070 1312 1000
530 579 1299
... ... ...
  1. Choose Graph > Bar Chart.
  2. Under Bars represent, choose A function of a variable.
  3. Under Multiple Y's, choose Simple, then click OK.
  4. Under Function, choose the function of the graph variable that you want to graph. In the example, Mean is the function.
  5. Under Graph variables, enter multiple columns of numeric or date/time data. In the example, 1, 2, and 3 are the graph variables.
  6. Click OK.

Option 3

Follow these steps if your worksheet contains a column of summarized data and a corresponding column of categorical data.

Example worksheet

C1 C2
Mean LightOutput GlassType
1000 1
980 2
950 3
  1. Choose Graph > Bar Chart.
  2. Under Bars represent, choose Values from a table.
  3. Under One column of values, choose Simple, then click OK.
  4. Under Graph variables, enter the column of summarized data. In the example, Mean LightOutput is the graph variable.
  5. Under Categorical variable, enter the column of categorical data. In the example, GlassType is the categorical variable.
  6. Click OK.

Option 4

Follow these steps if your worksheet contains a column of categorical data and each row is an observation. Minitab graphs the count of each value in the column.

Example worksheet

C1
GlassType
1
1
2
...
  1. Choose Graph > Bar Chart.
  2. Under Bars represent, choose Counts of unique values.
  3. Choose Simple, then click OK.
  4. Under Categorical variables, enter a column of categorical data. In the example, GlassType is the categorical variable.
  5. Click OK.
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy