Stacked vertical bar chart with groups

by Richard A. DeVenezia

Generated by gchart-example.sas

VBAR

proc gchart data=foo;
  vbar education
  / discrete
    group=city
    subgroup=profession
    sumvar=salary
    type=mean
    space=1.25
    width=6
    gspace=5
  ;
Stacked barchart with groups

BLOCK

  block education
  / discrete
    group=city
    subgroup=profession
    sumvar=salary
    type=mean
  ;
Stacked block chart