GROUP= creates a separate pie for each year. In combination
with GROUP=, ACROSS= draws two charts across one page. OTHER= collects all
the midpoints with statistic values less than or equal to 5 percent of the
total into one slice. CLOCKWISE begins drawing the slices at the 12 o'clock
position in alphabetic order of the midpoint. PERCENT=OUTSIDE and SLICE=OUTSIDE
display the labels outside the slices.
pie engytype / sumvar=produced
group=year
across=2
other=5
otherlabel='Renewable'
clockwise
value=none
slice=outside
percent=outside
coutline=black
noheading;
run;
quit;