Example of a clustered bar chart of counts
main topic
    interpreting results     session commands     see also 

You are a quality engineer for a company that makes door panels for automobiles. Each week, some panels are rejected because of paint flaws. You suspect a relationship between the time period and the type of flaw. Create a bar chart to determine the number of rejected panels for each type of paint flaw, clustered by time period. Choose decreasing order to see the outermost categories arranged from largest to smallest.

1    Open the worksheet EXH_QC.MTW.

2    Choose Graph > Bar Chart.

3    From Bars represent, choose Counts of unique values.

4    Choose Cluster, then click OK.

5    In Categorical variables (2-4, outermost first), enter Flaws  Period.

7    Click Bar Chart Options.

8    Under Order Main X Groups By, choose Decreasing Y. Click OK in each dialog box. 

Graph window output

Interpreting the results

The bar chart shows that the most frequent flaw is Peel, followed by Scratch, Other, and Smudge. Within each category, you can see the number of flaws per time period. Most flaws occurred at night for three out of four categories.

Tip

To see a bar's y-axis value, hover your cursor over the bar.