We may earn an affiliate commission when you visit our partners.
Course image
Carrie Wright, PhD, Shannon Ellis, PhD, Stephanie Hicks, PhD, and Roger D. Peng, PhD

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.

Read more

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.

Enroll now

What's inside

Syllabus

About 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.
Read more
Plot Types
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.
Making Good Plots
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.
Plot Generation Process
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.
ggplot2 Basics
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.
ggplot2: Customization
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.
Tables
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.
ggplot2: Extensions
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!
Case Studies
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.
Project: Visualizing Data in the Tidyverse
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.

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Designed for those with beginner to intermediate knowledge of R programming
Provides guidance for creating stunning data visualizations
Teaches the industry-standard ggplot2 R package
Covers basic to advanced concepts, including plot customization and extensions
Instructors are recognized for their expertise in data visualization
Requires familiarity with the R programming language

Save this course

Save Visualizing Data in the Tidyverse to your list so you can find it easily later:
Save

Reviews summary

Highly rated tidyverse course

Learners say this highly rated Tidyverse course includes well explained concepts and engaging assignments. Students praise the nice examples and find the course to be well done.

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Visualizing Data in the Tidyverse with these activities:
Review Basic R Programming Concepts
A solid foundation in R programming is crucial for success in this course. This activity provides an opportunity to refresh your knowledge of essential R concepts, ensuring that you are well-prepared for the upcoming lessons.
Browse courses on R Programming
Show steps
  • Review online tutorials or documentation on basic R programming
  • Practice writing simple R scripts to manipulate data
  • Seek help from classmates or online forums if needed
Organize and Review Course Materials
Staying organized and reviewing materials regularly is essential for effective learning. This activity encourages you to compile and review the course materials to enhance your understanding and retention.
Show steps
  • Create a dedicated folder or notebook for the course
  • Organize the materials by topic or week
  • Review the materials regularly, taking notes and highlighting important concepts
Connect with Experienced Data Visualization Practitioners
Seeking guidance from experienced professionals can accelerate your learning and provide valuable insights. This activity encourages you to reach out to data visualization experts who can offer support and advice.
Show steps
  • Attend industry events or online meetups related to data visualization
  • Join online communities and forums dedicated to data visualization
  • Reach out to individuals whose work you admire and request guidance
Four other activities
Expand to see all activities and additional details
Show all seven activities
Learn about ggplot2 Fundamentals on Coursera
This tutorial will help you grasp the basics of ggplot2, a powerful data visualization library in R, which will be essential for creating informative and visually appealing data visualizations throughout the course.
Browse courses on Ggplot2
Show steps
  • Enroll in the Coursera course 'Data Visualization with ggplot2'
  • Watch the video lectures and complete the hands-on exercises
  • Practice creating different types of plots using ggplot2
Build a Data Visualization Resource Kit
Creating a compilation of resources will provide you with a valuable reference tool throughout the course and beyond. This activity encourages you to gather and organize a collection of articles, tutorials, and tools related to data visualization.
Show steps
  • Identify and collect resources that cover various aspects of data visualization
  • Organize the resources into categories or topics
  • Create a document or online repository to store and share the resource kit
Practice Creating Data Visualizations with ggplot2
Regular practice is crucial for mastering data visualization techniques. This activity provides ample opportunities to apply your ggplot2 knowledge and refine your skills.
Show steps
  • Find a dataset that interests you and import it into R
  • Use ggplot2 to create various types of plots, such as scatterplots, histograms, and bar charts
  • Experiment with different aesthetics and customizations to enhance the visual appeal of your plots
  • Share your visualizations with others and seek feedback
Attend a Data Visualization Workshop
Workshops provide an immersive and interactive learning experience. Participating in a data visualization workshop will allow you to learn from experts, network with peers, and enhance your skills in a hands-on environment.
Show steps
  • Research and identify data visualization workshops that align with your interests
  • Register and attend the workshop
  • Actively participate in the exercises and discussions
  • Follow up with the workshop organizers or attendees to continue learning

Career center

Learners who complete Visualizing Data in the Tidyverse will develop knowledge and skills that may be useful to these careers:
Data Analyst
A Data Analyst is a professional who uses data to solve business problems. They collect, clean, and analyze data to identify trends and patterns. Data Analysts use their findings to make recommendations to businesses on how to improve their operations. This course can help you become a Data Analyst by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Data Scientist
A Data Scientist is a professional who uses data to build predictive models. They use these models to help businesses make better decisions. Data Scientists use a variety of statistical and machine learning techniques to build their models. This course can help you become a Data Scientist by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Statistician
A Statistician is a professional who uses data to make inferences about the world. They use statistical methods to analyze data and draw conclusions about the population from which the data was collected. Statisticians work in a variety of fields, including healthcare, finance, and education. This course can help you become a Statistician by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Business Intelligence Analyst
A Business Intelligence Analyst is a professional who uses data to help businesses make better decisions. They analyze data to identify trends and patterns, and they use this information to make recommendations to businesses on how to improve their operations. This course can help you become a Business Intelligence Analyst by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Data Engineer
A Data Engineer is a professional who designs and builds data systems. They work with data scientists and other professionals to ensure that data is stored, processed, and analyzed efficiently. Data Engineers use a variety of programming languages and tools to build their systems. This course can help you become a Data Engineer by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Financial Analyst
A Financial Analyst is a professional who analyzes financial data to make investment recommendations. They use a variety of financial metrics and models to evaluate the performance of companies and make recommendations on whether to buy, sell, or hold stocks. This course can help you become a Financial Analyst by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Operations Research Analyst
An Operations Research Analyst is a professional who uses mathematical models to solve business problems. They use a variety of techniques, including optimization, simulation, and regression analysis. Operations Research Analysts work in a variety of industries, including healthcare, finance, and manufacturing. This course can help you become an Operations Research Analyst by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Product Manager
A Product Manager is a professional who is responsible for the development and launch of new products. They work with engineers, designers, and marketers to bring new products to market. Product Managers use a variety of data analysis techniques to track the progress of their products and make decisions about how to improve them. This course can help you become a Product Manager by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Quantitative Analyst
A Quantitative Analyst is a professional who uses mathematical and statistical models to analyze financial data. They use their findings to make investment recommendations and develop trading strategies. Quantitative Analysts work in a variety of financial institutions, including hedge funds, investment banks, and asset management companies. This course can help you become a Quantitative Analyst by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Market Researcher
A Market Researcher is a professional who conducts research to understand the needs and wants of consumers. They use a variety of research methods, including surveys, focus groups, and interviews. Market Researchers use their findings to help businesses develop new products and services. This course can help you become a Market Researcher by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Web Analyst
A Web Analyst is a professional who analyzes data to improve the performance of websites. They use a variety of data analysis techniques to track the traffic to a website and identify areas for improvement. Web Analysts work in a variety of industries, including e-commerce, marketing, and advertising. This course can help you become a Web Analyst by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Data Architect
A Data Architect is a professional who designs and manages data systems. They work with data engineers and other professionals to ensure that data is stored, processed, and analyzed efficiently. Data Architects use a variety of data analysis techniques to track the performance of their systems and make decisions about how to improve them. This course can help you become a Data Architect by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Database Administrator
A Database Administrator is a professional who manages and maintains databases. They work with a variety of database technologies to ensure that data is stored, processed, and analyzed efficiently. Database Administrators use a variety of data analysis techniques to track the performance of their databases and make decisions about how to improve them. This course can help you become a Database Administrator by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Data Journalist
A Data Journalist is a professional who uses data to tell stories. They use a variety of data analysis techniques to find insights in data and then use those insights to write articles, blog posts, and other forms of content. Data Journalists work in a variety of media outlets, including newspapers, magazines, and online news organizations. This course can help you become a Data Journalist by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.
Software Engineer
A Software Engineer is a professional who designs, develops, and maintains software systems. They work with a variety of programming languages and tools to build software that meets the needs of users. Software Engineers use a variety of data analysis techniques to track the performance of their software and make decisions about how to improve it. This course can help you become a Software Engineer by teaching you the skills you need to collect, clean, and analyze data. You will also learn how to use data visualization tools to communicate your findings to others.

Reading list

We've selected 11 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Visualizing Data in the Tidyverse.
Comprehensive guide to ggplot2, a popular R package for data visualization. It covers all aspects of ggplot2, from the basics to advanced techniques. It must-read for anyone who wants to use ggplot2 to create stunning data visualizations.
Classic work on data visualization. It covers the principles of effective data visualization, as well as a wide range of examples. It must-read for anyone who wants to understand the foundations of data visualization.
Classic work on data visualization. It introduces the grammar of graphics, a set of principles that can be used to create effective and informative visualizations. It must-read for anyone who wants to understand the foundations of data visualization.
Guide to creating effective data visualizations. It covers the principles of effective data visualization, as well as a wide range of examples. It good resource for those who want to learn how to create data visualizations that are both informative and visually appealing.
Provides a practical introduction to data visualization, covering the basics of creating effective and informative visualizations. It good resource for those who are new to data visualization or who want to improve their skills.
Guide to using data to tell stories. It covers the basics of data storytelling, as well as more advanced techniques. It good resource for those who want to learn how to use data to communicate effectively.
Guide to using R to create data visualizations. It covers the basics of data visualization, as well as more advanced techniques. It good resource for those who want to learn how to use R to create stunning data visualizations.
Guide to using Python to create data visualizations. It covers the basics of data visualization, as well as more advanced techniques. It good resource for those who want to learn how to use Python to create stunning data visualizations.
Guide to using JavaScript to create data visualizations. It covers the basics of data visualization, as well as more advanced techniques. It good resource for those who want to learn how to use JavaScript to create stunning data visualizations.
Simple guide to data visualization. It covers the basics of creating effective and informative visualizations. It good resource for those who are new to data visualization or who want to improve their skills.

Share

Help others find this course page by sharing it with your friends and followers:
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser