Featured resource
pluralsight tech forecast
2025 Tech Forecast

Which technologies will dominate in 2025? And what skills do you need to keep up?

Check it out
Hamburger Icon
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Data

Formatting ggplot2 Visualization Elements in R

Use the very popular ggplot2 visualization library and learn how to fine tune your charts. Special emphasis is put on color palettes, axes and scales, as well as plot themes.

Martin Burger - Pluralsight course - Formatting ggplot2 Visualization Elements in R
by Martin Burger

What you'll learn

Do you want to learn how to fine tune ggplots so that they look even better? Ggplots are great, but their fine tuning can be tricky. They work on different principles than standard R Base plots. So, there is a learning curve to this package. In this course, Formatting ggplot2 Visualization Elements in R, you will learn how ggplots are modified piece by piece.

First, you will learn the general setup of a ggplot and how each ggplot has a typical logic that has to be followed. Next, you will discover how different color palettes can be used in ggplot2 and the several tools available that offer color palettes. You will be looking at these tools and how they are applied in a ggplot, including the R Color Brewer and Color Space. After that, you will be shown how the axes and scales of a plot are modified, as well as how to get access to each piece. Finally, you will have the skills to modify the plot theme, which leads to the component of a ggplot that defines its appearance. When you are finished with this course, you will better understand the logic behind ggplot2 and you will be able to modify the plot theme, the axes, and the coloration.

Table of contents

About the author

Martin Burger - Pluralsight course - Formatting ggplot2 Visualization Elements in R
Martin Burger

Martin is a trained biostatistician, programmer, consultant and data science enthusiast. His main objective: Explaining data science in a straightforward way. You can find his latest work over at: r-tutorials.com

More Courses by Martin