Data Analysis with R: Introduction to ggplot2

In this course we’re going to cover the ggplot package in R. This package, created by Hadley Wickham, is used by hundreds of thousands of R users to build millions of graphs.
My goal for you is that you walk away with a solid foundation for building graphs and displaying your data. It’s going to be fun. It’s interactive. I’ll even share a bear story with you. See you soon.

Join for Free
Data Analysis with R: Introduction to ggplot2

Duration (mins)


5.0 / 5


Task List

We will cover the following tasks in 41 minutes:


This is where we lay the ground work for the rest of the lesson. We will discuss what we will learn, I will show you quickly how to use the technology, and then a short bio about me your instructor.

Getting to work!

You don’t want to miss this section because we’re going to go over the Grammar of Graphics. We’re going to build our first plot, add some points and then finish off with a couple trend-lines.

Slicing and Dicing the Graphs

Of course you can filter the data.frame to get the reduction in data that you need for the graphs. But… There’s an easier way. I’ll show you in this section. Come on in.

Two Ways to do Titles and Axis labels

Titles and Axis labels. I’ll show you two ways. You choose. Clean titles are so important because we spend all this time with our data and we want our work to have the best effect. Take this section and you’ll see some ways to make your graphs stand out.

Point Colors and Sizes (Important!)

Maybe your the artist type. Or maybe not. But whatever the case we’re going to splash some color on our graphs. And even better, we are going to change our graph from two dimensions to three. Come in and see.

Axis Texts and Ticks

It’s a pain. Formatting the Tick marks the way you want. It’s one of the last things you’ll do. Don’t miss this section. I make your life much easier.

Scaling the Axis Tick Marks

This is part two. We will talk about the scales package. This is how you add dollar signs and percents to the axis.

Custom Themes

There are custom themes built into ggplot. We will go over a couple. It’s a must see section. We end here as well.

Final Thoughts

Congratulations! I will share a couple final thoughts in this chapter before sending you off to the next tutorial! You did good.

Watch Preview

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

Rhyme Authors

About the Host

Rhyme Authors

Frequently Asked Questions

In Rhyme, all projects are completely hands-on. You don't just passively watch someone else. You use the software directly while following the host's (Rhyme Authors) 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 (Rhyme Authors) has already installed all required software and configured all data.
Absolutely! Your host (Rhyme Authors) has provided this session completely free of cost!
You can go to, sign up for free, and follow this visual guide How to use Rhyme to create your own projects. 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 projects 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
Rhyme strives to ensure that visual instructions are helpful for reading impairments. The Rhyme interface has features like resolution and zoom that will be helpful for visual impairments. And, we are currently developing a close-caption functionality to help with hearing impairments. Most of the accessibility options of the cloud desktop's operating system or the specific application can also be used in Rhyme. If you have questions related to accessibility, please email us at
We started with windows and linux cloud desktops because they have the most flexibility in teaching any software (desktop or web). However, web applications like Salesforce can run directly through a virtual browser. And, others like Jupyter and RStudio can run on containers and be accessed by virtual browsers. We are currently working on such features where such web applications won't need to run through cloud desktops. But, the rest of the Rhyme learning, authoring, and monitoring interfaces will remain the same.
Please email us at and we'll respond to you within one business day.

Ready to join this 41 minutes session for free?