here is my data frame:
> mode of transportation distance<1km distance2km-5km distance>5km
Car,truck,van 4 45 53
Bus 3 13 24
Subway,elevated,rail 0 34 67
I want have percentage stacked bar plots that y is mode of transportation and x is the frequency. In the each bar, by using different color to distinguish the different of distance.
Thank you!