I have the following code:
/* Vertical Bar Chart */
Axis order=("NH White" "NH other" "Hispanic" "NH Black");
Proc GCHART data=WORK.RACEFLU3;
Vbar race / sumvar=rowpercent raxis=axis;
Run;
It displays the % of people vaccinated (numeric) by race/ethnicity (character). I'm trying to get those race/ethnicity categories to appear sorted by descending % on the horizontal axis (so: "NH White" "NH other" "Hispanic" "NH Black").
But whatever I'm doing above doesn't work and the suggestions I've found so far online don't really help, either.
Any ideas?