Why ggplot2?

Learn what ggplot2 is and its application of the grammar of graphics.

There are two common ways to create plots in R: the plotting functions provided in base-R and ggplot2. Of course, other libraries and methods exist, but these two are the most common. There’s an ongoing debate about which of the two methods is better, and many R users continue to stick to base-R’s plotting methods. However, we’ll focus on developing skills in ggplot2.

Get hands-on with 1200+ tech skills courses.