2
Hello,
I have a graph that shows the proportion of equipment available in schools of Pernambuco, and I would like to order it from the equipment with greater presence (greater has) to those with lower presence:
Currently my code is like this:
df %>%
ggplot(aes(x=equipamento ,y=perc, fill=situacao), arrange(situacao)) +
geom_col() +
ggtitle("Percentual de creches que atendem aos parâmetros do CAQi") +
theme_bw() + theme(axis.text.x = element_text(angle = 45, hjust = 1))
Given the layout of my data, I do not know if it is possible to reorder using factor:
I appreciate the help!
dput(df)
, please.– Tomás Barcellos