ggplot2 allows to build barplot thanks to the
geom_bar() function. The examples below will guide you through the basics of this tool:
It makes sense to make your barchart horizontal: group labels are now much easier to read
Control group order
Reordering categories in the barchart is a crucial step for an insightful figure: learn how to do it.
Basic R can build quality barplots thanks to the
barplot() function. Here is a list of examples guiding you through the most common customization you will need.
The web is full of astonishing R charts made by awesome bloggers. The R graph gallery tries to display some of the best creations and explain how their source code works. If you want to display your work here, please drop me a word or even better, submit a Pull Request!
Barplot with The Economist's style
The example is a reproduction of a barplot published in The Economist. The barplot itself is simple, but all the customization going with it to mimick the style are worth a read.
Circular barplot with several features per group
Compare the features of several hiking locations in Washington with a highly customized circular barplot.
A work by Tobias Stalder