I want to draw this graph in a way that there are both red and blue bars right next to each other for each Week (not on the top like that). Below is my code:
proc sgpanel data=visit_bp pctlevel=graph;
panelby VSTESTCD / columns=2;
vbar visit / stat=percent group= arm;
run;
Visit: Week 8, Week 16, Week 24, Week 32
ARM: ECHO MAX, Placebo
VSTESTCD: DIABP, SYSBP
Tried to figure this out for a really long time. Any help will be much appreciated.