%let gpath=C:\; %let dpi=200; %let w=6in; %let h=3in; ods html close; ods listing style=htmlblue gpath="&gpath" image_dpi=&dpi; /*--Spark Data--*/ data sparkGrid; length Claim $20; format Value dollar8.0; keep Year Months Value Claim; do Year=2006 to 2015; do Claim='Inpatient', 'Skilled Nursing', 'Home Health', 'Hospice', 'Outpatient', 'Physician', 'Durable Equip'; base=110000*(1+0.01*ranuni(2)); do Months=6, 12, 24, 36, 48; Value=base*(1+0.01*rannor(2)); output; end; end; end; run; /*--Spark Grid direct from data-*/ ods graphics / reset width=&w height=&h imagename='Spark_Grid'; title 'Claim Run-out Patterns by Claim Type per Year'; title2 'Run-out Periods: 6, 12, 24, 36 and 48 months'; proc sgpanel data=sparkGrid; styleattrs wallcolor=cxe7ebf7; panelby claim year / layout=lattice onepanel uniscale=column novarname rowheaderpos=left noborder spacing=3 noheaderborder headerattrs=(size=7 weight=bold) sort=data; series x=months y=value / markers markerattrs=(symbol=circlefilled size=5); rowaxis display=none; colaxis display=none; run;