VOOZH about

URL: https://www.coursera.org/learn/tidyverse-visualize-data

⇱ Visualizing Data in the Tidyverse | Coursera


Visualizing Data in the Tidyverse

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Visualizing Data in the Tidyverse

1,548 already enrolled

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.7

20 reviews

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
4.7

20 reviews

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Distinguish between various types of plots and their uses

  • Use the ggplot2 R package to develop data visualizations

  • Build effective data summary tables

  • Build data animations for visual storytelling

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

6 assignments¹

AI Graded see disclaimer
Taught in English

Build your subject-matter expertise

This course is part of the Tidyverse Skills for Data Science in R Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 10 modules in this course

Data visualization is a critical part of any data science project. Once data have been imported and wrangled into place, visualizing your data can help you get a handle on what’s going on in the data set. Similarly, once you’ve completed your analysis and are ready to present your findings, data visualizations are a highly effective way to communicate your results to others. In this course we will cover what data visualization is and define some of the basic types of data visualizations.

In this course you will learn about the ggplot2 R package, a powerful set of tools for making stunning data graphics that has become the industry standard. You will learn about different types of plots, how to construct effect plots, and what makes for a successful or unsuccessful visualization. In this specialization we assume familiarity with the R programming language. If you are not yet familiar with R, we suggest you first complete R Programming before returning to complete this course.

Data visualization is a critical part of any data science project. Once data have been imported and wrangled into place, visualizing your data can help you get a handle on what’s going on in the dataset. Similarly, once you’ve completed your analysis and are ready to present your findings, data visualizations are a highly effective way to communicate your results to others.

What's included

3 readings

3 readingsTotal 22 minutes
  • About This Course10 minutes
  • Data Visualization Background2 minutes
  • General Features of Plots10 minutes

There are many types of plots that are helpful. We’ll discuss a few basic ones below and will include links to a few galleries where you can get a sense of the many different types of plots out there.

What's included

7 readings1 assignment2 plugins

7 readingsTotal 33 minutes
  • Plot Types2 minutes
  • Histogram5 minutes
  • Densityplot4 minutes
  • Scatterplot4 minutes
  • Barplot8 minutes
  • Boxplot7 minutes
  • Line Plots3 minutes
1 assignmentTotal 30 minutes
  • Plot Basics Quiz30 minutes
2 pluginsTotal 20 minutes
  • Other Types of Plots: The R Graph Gallery10 minutes
  • Other Types of Plots: The Ferdio Data Visualization Catalog10 minutes

The goal of data visualization in data analysis is to improve understanding of the data. As mentioned in the last lesson, this could mean improving our own understanding of the data or using visualization to improve someone else’s understanding of the data. We discussed some general characteristics and basic types of plots in the last lesson, but here we will step through a number of general tips for making good plots. When generating exploratory or explanatory plots, you’ll want to ensure information being displayed is being done so accurately and in a away that best reflects the reality within the dataset. Here, we provide a number of tips to keep in mind when generating plots.

What's included

8 readings1 assignment

8 readingsTotal 25 minutes
  • Choose the Right Type of Plot3 minutes
  • Be Mindful When Choosing Colors5 minutes
  • Label the Axes3 minutes
  • Make Sure the Numbers Add Up3 minutes
  • Make Sure the Numbers and Plots Make Sense Together0 minutes
  • Make Comparisons Easy on Viewers3 minutes
  • Use y-axes That Start at Zero3 minutes
  • Keep It Simple5 minutes
1 assignmentTotal 30 minutes
  • Good Plots Quiz30 minutes

Having discussed some general guidelines, there are a number of questions you should ask yourself before making a plot. There are three main questions you should ask any time you create a visual display of your data. We will discuss these three questions below.

What's included

1 reading

1 readingTotal 5 minutes
  • Three Questions You Should Ask5 minutes

R was initially developed for statisticians, who often are interested in generating plots or figures to visualize their data. As such, a few basic plotting features were built in when R was first developed. These are all still available; however, over time, a new approach to graphing in R was developed. This new approach implemented what is known as the grammar of graphics, which allows you to develop elegant graphs flexibly in R. Making plots with this set of rules requires the R package ggplot2. This package is a core package in the tidyverse, so as along as the tidyverse has been loaded in, you’re ready to get started.

What's included

7 readings1 assignment

7 readingsTotal 115 minutes
  • ggplot2 Background10 minutes
  • Example Dataset: diamonds10 minutes
  • Scatterplots: geom_point()10 minutes
  • Aesthetics40 minutes
  • Facets10 minutes
  • Geoms30 minutes
  • EDA Plots5 minutes
1 assignmentTotal 30 minutes
  • Introduction to ggplot2 Quiz30 minutes

So far, we have walked through the steps of generating a number of different graphs (using different geoms) in ggplot2. We discussed the basics of mapping variables to your graph to customize its appearance or aesthetic (using size, shape, and color within aes()). Here, we’ll build on what we’ve previously learned to really get down to how to customize your plots so that they’re as clear as possible for communicating your results to others. The skills learned in this lesson will help take you from generating exploratory plots that help you better understand your data to explanatory plots – plots that help you communicate your results to others. We’ll cover how to customize the colors, labels, legends, and text used on your graph. Since we’re already familiar with it, we’ll continue to use the diamonds dataset that we’ve been using to learn about ggplot2.

What's included

9 readings1 assignment

9 readingsTotal 123 minutes
  • Colors 30 minutes
  • Labels10 minutes
  • Themes8 minutes
  • Custom Theme10 minutes
  • Legends20 minutes
  • Scales10 minutes
  • Coordinate Adjustment15 minutes
  • Annotation10 minutes
  • Vertical and Horizontal Lines10 minutes
1 assignmentTotal 30 minutes
  • ggplot2 Customization Quiz30 minutes

While we have focused on figures here so far, tables can be incredibly informative at a glance too. If you are looking to display summary numbers, a table can also visually display information.

What's included

6 readings1 assignment

6 readingsTotal 47 minutes
  • Tables5 minutes
  • Tables in R2 minutes
  • Getting the Data in Order5 minutes
  • An Exploratory Table10 minutes
  • Improving the Table Output10 minutes
  • Annotating Your Table15 minutes
1 assignmentTotal 30 minutes
  • Tables in R Quiz30 minutes

Beyond the many capabilities of ggplot2, there are a few additional packages that build on top of ggplot2’s capabilities. We’ll introduce a few packages here so that you can (1) directly annotate points on plots (ggrepel and directlabels); (2) combine multiple plots (cowplot + patchwork); and (3) generate animated plots (gganimate). These are referred to as ggplot2 extensions There are dozens of additional ggplot2 extensions available if you’d like to explore other plotting options beyond what is covered here!

What's included

5 readings1 assignment

5 readingsTotal 150 minutes
  • ggrepel15 minutes
  • directlabels15 minutes
  • cowplot15 minutes
  • patchwork60 minutes
  • gganimate45 minutes
1 assignmentTotal 30 minutes
  • ggplot2 Extensions Quiz30 minutes

At this point, we’ve done a lot of work with our case studies. We’ve introduced the case studies, read them into R, and have wrangled the data into a usable format. Now, we get to peek at the data using visualizations to better understand each dataset’s observations and variables! When working through the steps of the case studies, you can use either RStudio on your own computer or Coursera lab spaces provided for each case study.

What's included

8 readings2 ungraded labs

8 readingsTotal 140 minutes
  • Case Study #1: Health Expenditures10 minutes
  • Exploratory Data Analysis (EDA)15 minutes
  • Q1: Relationship between coverage and spending?25 minutes
  • Q2: Spending Across Geographic Regions?20 minutes
  • Q3: Coverage and Spending Change Over Time?10 minutes
  • Case Study #2: Firearms10 minutes
  • Exploratory Data Analysis (EDA)25 minutes
  • Q: Relationship between Fatal Police Shootings and Legislation?25 minutes
2 ungraded labsTotal 20 minutes
  • Case Study #1: Health Expenditures10 minutes
  • Case Study #2: Firearms10 minutes

In this project, you will practice exploring data and creating data visualizations with the tidyverse using nutrition and sales data from fast food restaurants in 2018.

What's included

1 peer review

1 peer reviewTotal 120 minutes
  • Visualizing Data in the Tidyverse Course Project120 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Johns Hopkins University
5 Courses7,093 learners
Johns Hopkins University
5 Courses7,093 learners
Johns Hopkins University
37 Courses1,689,638 learners

Explore more from Data Analysis

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,

¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.