And here's one way to create a similar graph with SAS/Graph Gchart ... data my_data; input Group_Y_ID Year count rank_1st rank_2nd rank_3rd; label rank_1st='1st Ranked' rank_2nd='2nd Ranked' rank_3rd='3rd Ranked'; datalines; 1 2007 3 66.66667 33.33333 0 1 2008 3 33.33333 33.3333 33.33333 1 2009 4 0 75 25 1 2010 4 50 50 0 2 2007 4 50 50 0 2 2008 3 33.33333 66.66667 0 2 2009 4 100 0 0 2 2010 5 80 20 0 3 2007 3 33.33333 33.33333 33.33333 3 2008 2 50 0 50 3 2009 3 33.33333 33.33333 33.33333 3 2010 4 25 75 0 ; run; proc transpose data=my_data (drop=count) out=tran_data; by Group_Y_ID year; run; data tran_data; set tran_data; format col1 percentn6.0; col1=col1/100; run; goptions xpixels=500 ypixels=450; goptions gunit=pct htitle=3 ftitle="albany amt/bold" htext=2.5 ftext="albany amt"; legend1 label=none; pattern1 v=s c=cxfad9b8; pattern2 v=s c=cxadd7e5; pattern3 v=s c=cxf7f8d0; axis1 label=none value=none style=0 major=none minor=none; axis2 label=none value=(angle=90) style=0; axis3 label=none; title1 ls=1.5 "Group Portfolio (2007 / 2008 / 2009 / 2010)"; proc gchart data=tran_data; vbar year / discrete group=Group_Y_ID type=sum sumvar=col1 inside=sum subgroup=_label_ legend=legend1 raxis=axis1 maxis=axis2 gaxis=axis3 noframe width=8 space=0 coutline=white; run; And here's what the output looks like:
... View more