Run PROC GAREABAR with an HBAR statement. The SUMVAR=SALES option sets the length of the bar.


The HBAR SITE*SALESPERSONS creates a horizontal bar for each site. SALESPERSONS is represented by the width of each bar. The WSTAT=PERCENT option sets the statistic to percentage to compare the distribution of salespersons for each quarter.


The SUBGROUP=QUARTER option and the RSTAT=SUM option are reflected in the statistics that are displayed as absolute numbers along the horizontal bar.


proc gareabar data=totals;
   hbar site*salespersons /
      sumvar=sales
      subgroup=quarter
      wstat=PCT;
run;
quit;