Produce the donut chart. SUBGROUP= divides
the donut into rings. Each ring represents a value of the subgroup variable,
DEPT. The DONUTPCT= option controls the size of the donut hole, which contains
the text specified by LABEL=. The NOHEADING option suppresses the default
heading that contains the name of the chart variable and the type of statistic.
LEGEND= assigns the LEGEND1 statement to the chart COUTLINE= specifies the
outline color for the slices and subgroup rings. CTEXT= specifies the color
used by the donut label and by the subgroup arrows.
proc gchart data=reflib.totals;
format sales dollar8.;
donut site / sumvar=sales
subgroup=dept
donutpct=30
label=('All' justify=center 'Quarters')
noheading
legend=legend1
coutline=black
ctext=black;
run;
quit;