Produce the pie charts. This graph uses the data set entitled CARS found in the SASHELP library. The GROUP= option creates a separate pie for each model. In combination with the GROUP= option, the ACROSS= option draws two charts across one page. The OTHER= option 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. The PERCENT=OUTSIDE and SLICE=OUTSIDE display the labels outside the slices.
proc gchart data=sashelp.cars(where=(type="SUV" or type="Truck")); pie make / group=type across=2 other=5 otherlabel="Other Makes" clockwise value=none slice=outside percent=outside; run; quit;