Produce the star chart. SUMVAR= calculates the sum of SALES for each value of the chart variable SITE. Because the TYPE= option is omitted, the default statistic is sum. The FORMAT statement assigns a format to the summary variable SALES.
proc gchart data=reflib.totals;
   format sales dollar8.;
   star site  / sumvar=sales;