> ggplot(EDAfilter, aes(x = EDAfilter$MCI, fill=as.factor(EDAfilter$MCI))) + + + geom_bar(width=0.8, stat="count") + theme(legend.position="none") + coord_flip() + + + ggtitle("Crime Records by Major Categories")
This was my code to understand the distribution of counts by categories. I want to reorder this by descending order i.e. top category for counts to the lowest. Below is the plot I got. Let me know how to reorder this. I tried using reorder but failing.