Produce the star chart. The SUMVAR= option 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=totals;
format sales dollar8.;
star site / sumvar=sales;
run;
quit;