How to make stacked barplot with percent on x/y axis

Stacked bar plot with percentage on y-axis

In this post we will see how to make a stacked barplot showing percentage on its axis instead of count or proportion. We can make stacked barplot with count or proportion directly using geom_bar() function in ggplot2. Then we will use scales R package to add percentage on the axis instead of proportion. Let us… Continue reading How to make stacked barplot with percent on x/y axis

Exit mobile version