![]() Chapter Contents |
![]() Previous |
![]() Next |
Doing More with SAS/ASSIST Software |
Creating a Pie Chart |
Tasks | ![]() |
Graphics | ![]() |
Pie chart |
Pie Chart Window
The sizes of the slices are determined by the values of the chart column. If you have any slices that represent four percent or less of the total pie, these slices are grouped together automatically into one slice labeled OTHER.
You select Use discrete chart column value to display one slice of pie for each age represented in the CLASS table, that is 11, 12, 13, 14, 15, and 16. The default for the number of bars is Let the number of midpoints default, which lets the procedure determine the number of midpoints (pie slices) for the chart column. Each midpoint represents a median of a range of values. In this example, if you use Let the number of midpoints default, the pie slices represent the midpoints of the AGE column, that is 11.4, 12.6, 13.8, 15, and 16.2.
The window that appears when you select Number of slices is different for numeric and character chart columns.
For the 2ND and 5TH areas, leave the pattern as Solid.
For the 3RD and 6TH areas, select Empty as the pattern.
The pattern selected by default for the pie slices is Solid. If you print a black and white graphic as shown in this book, you can use the pattern options to distinguish one pie slice from another.
If you print a color graphic, you can use colors for
the various pie slices to distinguish one pie slice from another. To display
a list of valid colors, type
?
in the first position of the Color field
and press ENTER. Select the color you want to use.
Labeling Options Window
You choose the label selections as indicated so that the percent of students in each age group is shown on the pie. If you leave Label slice with value of each slice selected, the number of students in each age group (rather than the percentage) is shown on the pie.
General Slice Options Window
Explode a Pie Slice
13and select OK.
Run | ![]() |
Submit |
Pie Chart Output
Note: Titles carry over from one report or graphic to another. If you do not type a title and a title was selected previously in the current SAS/ASSIST session, the previous title automatically appears on this graphic.
If the title Mean Weight by Age
appears at the top of the chart, this title carried over from the chart created
in the previous section. To delete the title, from the Pie Chart window, select Edit, Titles, and
Reset.
File | ![]() |
Close |
Other Pie Chart Options |
Three-dimensional Pie Chart Output
Donut Pie Chart Output
Star Pie Chart Output
By Selecting Additional Options, you can
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.