Produce the block chart. The BLOCK statement produces a block chart. SUMVAR= calculates the sum of SALES for each value of the chart variable SITE. With SUMVAR= the default statistic is SUM. The summary variable SALES is assigned a dollar format.


proc gchart data=totals;
format sales dollar8.;
block site / sumvar=sales;
run;
quit;