Pie Charts

Graph > Chart > Line



A pie chart is used to display the proportion of each data category relative to the whole data set.  A pie chart usually shows a single data series, and is useful for determining which item in the series is most significant.




Dialog box items

Categorical Variable:
Variable that defines the categories shown on the chart. There is one point on the line for each value of the variable. This axis is a category axis that display categorical data.

Define Slices by (optional):
Variable (optional) that defines the lines. There is one line for each value of the variable. This option is only required for multiple pies.

Slices Represent:
Select one of the alternatives in the Slices Represent group to specify how the data are represented on the scale axis.

oCount: The value graphed represents the number of cases in each category.

oPercentage: The value graphed represents the number of cases in each category, expressed as a percentage of the total number of cases.

oOther summary function: The value graphed represents the function displayed for the selected variable. To specify a different function, click the drop-down button. The selected variable must be numeric.




You need one column of numeric or text values to be counted. Each row of your data should represent a single observation. The resulting pie chart contains a slice for each unique value in the column. To plot a function of a variable, you also need a column of continuous data.




Data Labels:
Use to label each data point. After creating a chart, you can change the data labels or their attributes, or add data labels (see Editing Labels).
Select one of the alternatives:

oNone: Choose to suppress data labels

oFrequency: Choose to label each slice with the number of observations, the percentage of the pie or or another function according to the "Slices Represent" option.

Data Options

oExclude missing values: Check to excludes rows that have missing values.

oShow ToolTip: Check to display messages in a ToolTip window.




The Montana poll asked a random sample of Montana residents whether their personal financial status was the worse, the same, or better than a year ago, and whether they thought the state economic outlook was better over the next year.

Source: http://lib.stat.cmu.edu/DASL/Datafiles/montanadat.html


1.Open the DataBook summary.vstz

2.Select the sheet Montana

3.Choose the tab Graph, and then the group Chart, which displays a collection of gallery of items

4.Select Pie and then use tool-tip to select Pie Chart under label 2D Pie.
All available command is displayed in the gallery of graphics

5.Select group Data

6.In Categorical Variable, select AREA.

7.Click Finish



Chart window output