Click here to see the SAS code.
Click here to see the example.
The pie slices in the original chart I was trying to imitate were in a
somewhat "arbitrary" order, so I used numeric values for my pie slices
(to get them in the exact same order) and then use a user-defined format
to make the text labels for the pie slices have the text I wanted
(rather than the numeric values I used to order the slices).
Other than that, a very simple straightforward pie chart.
I used the 'noheading' gchart pie3d option to suppress the headings that
normally print above a pie chart, and I use "value=inside" and "slice=outside"
to control where the labels get printed.
Back to Samples Index