In the Dotplot dialog box, complete the following steps to specify the data for your graph. If your data are arranged differently than described below, go to Choose a dotplot.
In Y variable, enter the numeric column that you want to graph.
In Group variable, enter the column of categorical data that defines the groups.
In the following worksheet, Calcium contains the calcium intake amounts for a sample of children. Group is the group variable and indicates whether each child was in an educational program or was in the control group. The graph shows the distribution of calcium amounts for the two groups.