Plotting Data Using ggplot2

Learn to make unique and professional-quality bar plots with ggplot2.

We’ll use the ggplot() function. Notice that the function name does not contain the 2 on end, which the package ggplot2 has. There are many aspects that are similar to building the figure in base graphics, but several that are not. We will only go over the basics of figure making with ggplot2 here.

Get hands-on with 1200+ tech skills courses.