Making beautiful bar charts with ggplot

Bar charts (or bar graphs) are commonly used, but they’re also a simple type of graph where the defaults in ggplot leave a lot to be desired. This is a step-by-step description of how I’d go about improving them, describing the thought processess along the way. Every plot is different and the decisions you make need to reflect the message you’re trying to convey, so don’t treat this post as a recipe, treat it as some points to consider—and hopefully, a few tips that will help you achieve the look you want in your own plots.

Plotting multiple variables at once using ggplot2 and tidyr

In exploratory data analysis, it's common to want to make similar plots of a number of variables at once. Here is a way to achieve this using R and `ggplot2`.