Data Analysis with R: More ggplot2

In this course we will expand on what we learned in the first tutorial. We will discuss and work through examples where we will tweak the theme, which is super important, like centering and sizing, font, etc. We will discuss in depth how to change legend titles and colors. And more. When you’re done with this course with the ggplot2 cheat sheet you can tackle your plots quickly and they will look professional. Now let’s get to it.

Start for Free
First 1 chapter free. Then, decide to pay $4.99 for the rest
Data Analysis with R: More ggplot2

Duration (mins)


5.0 / 5


Task List

We will cover the following tasks in 26 minutes:


I think you’re realizing the power of ggplot2 is how we’re able to manipulate every aspect of the plot. Remember too that once you learn ggplot you can become a plot Piccasso. But before we go crazy with the functions we need to go over some housekeeping stuff. We’re going to load the packages we are going to use and we are going to talk about the Rhyme Interface. After that I’ll give you a quick bio on myself.


We will quickly review in this chapter what we learned in the first tutorial. I’m going to move fast. But. You can pause me. Also you don’t want to miss this chapter because the plot we build will be used for the remainder of the course.

Tweaking the Theme (Plot Titles, Axis, etc.)

We’ve all seen plots that have an title that isn’t centered or the text size is too small or some other variant. Let’s nip this issue in the bud by learning how to center our titles, change our text sizes and format our Axis.

Changing Legend Titles

Legends can be a pain in ggplot. This chapter will save you a couple of hours of searching on Stack Overflow for the answers. I will show you how to change the colors and titles in the Legend. Again. Don’t miss this one. It will save you – I know – personally.

Changing the Legend Labels and Point Colors

There are luxury items. Diamonds, Porsche’s, Mansions, and how to change colors of your legend in ggplot. In this chapter I will show you how this is done. I didn’t even think of changing the colors in the legend because I didn’t think it could be done. For two years I didn’t change the colors. And then I figured it out. I’ll show you how.

Moving Legends

Right corner? Left corner? Bottom? Top? No I’m not talking about where to move your couch. I’m talking about where to move the legend within your plot. In this chapter you will learn how this is done.

Final thoughts

Wow. So that’s over. And now. Yep. You’re a ggplot artist. You were exposed to many function calls in ggplot. And because of that your charts whether in school or at work will benefit. As will your readers. Congrats. Good work.

Watch Preview

Preview the instructions that you will follow along in a hands on session in your browser.

Chris Shockley

About the Host (Chris Shockley)

I am a R enthusiast, hiker, and amateur astronomer. My favorite hike is located in Mt. Rainier National Park, my favorite Deep Sky Object is Alberio, and my favorite R package is dplyr (since I use it everyday). I am single too. Maybe because I spend too much time playing? I have a dog named Coog (Lllasa Apso), who would rather be outside than inside, which means I have to take him on a lot of walks. I work as a Data Analyst/Financial Analyst for a Metals Co. located in Seattle, WA. I have been in my current position for 4 years. My hope is that I can help you, even if its with my enthusiasm. Yes you can learn R and the Rhyme Interface will help you. But. You also must take what you learn and practice, practice, practice. So... Let's get after it. See you soon.

Frequently Asked Questions

In Rhyme, all sessions are completely hands on. You don't just passively watch someone else. You use the software directly while following the host's (Chris Shockley) instructions. Using the software is the only way to achieve mastery. With the "Live Guide" option, you can ask for help and get immediate response.
Nothing! Just join through your web browser. Your host (Chris Shockley) has already installed all required software and configured all data.
You can go to, sign up for free, and follow this visual guide How to use Rhyme to create your own sessions. If you have custom needs or company-specific environment, please email us at
Absolutely. We offer Rhyme for workgroups as well larger departments and companies. Universities, academies, and bootcamps can also buy Rhyme for their settings. You can select sessions and trainings that are mission critical for you and, as well, author your own that reflect your own needs and tech environments. Please email us at
Please email us at and we'll respond to you within one business day.

First 1 chapter free. Then, decide to pay $4.99 for the rest