Bar plot The most common way a pie chart can be improved is by turning it into a bar chart, with categories on the x axis and percentages on the y-axis. This doesn’t apply to all plots, but it does to this one. library(ggplot2) theme_set(theme_bw()) ggplot(d, aes(Hours, Percentage)) + geom_bar(stat = "identity") + facet_wrap(~Task) Note that much like the original pie chart, we “faceted” (divided
![How to replace a pie chart](https://cdn-ak-scissors.b.st-hatena.com/image/square/d35482dbea74a83c993f9546ce2749da82406fa0/height=288;version=1;width=512/http%3A%2F%2Fvarianceexplained.org%2Ffigs%2F2016-03-14-improving-pie-chart%2Fbefore_after-1.png)