How can I sort a bar graph from highest to lowest in R? (ggplot2)
the code is this, but feel free to do a better code haha Ps: it is a huge data
ggplot(kiva, aes(repayment_interval, loan_amount, fill = repayment_interval)) +
geom_bar(stat = "identity") +
ggtitle("Total of loan for different types of repayment intervals")