Produce the first pie chart. The PIE statement produces a two-dimensional pie chart. SUMVAR= calculates the sum of SALES for each value of the chart variable SITE. The default statistic for SUMVAR= is SUM. The summary variable SALES is assigned a dollar format. COUTLINE= specifies the outline color for the slices.
proc gchart data=reflib.totals;
   format sales dollar8.;
   pie site / sumvar=sales
              coutline=black;
run;