I have following data:
loan_amnt term grade sub_grade home_ownership verification_status d_status
7000 60 months C C5 RENT Not Verified Not Defaulted
6500 60 months C C3 OWN Not Verified Not Defaulted
12000 36 months B B5 OWN Verified Defaulted
9000 36 months C C1 RENT Verified Not Defaulted
1000 36 months D D1 RENT Not Verified Defaulted
I required multivariate bar chart in which I wan to have d_status
filled inside and y axis have percentage of value. In x axis I want term
, grade
, and verification_status
. It means I will required 3 stacked bar charts together.
How can I plot using ggplot? Please help.