Introduction to Data Visualization with ggplot2

Start Free Preview

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free Preview (Paid Upgrade)
  • Learning style: Self-paced, start anytime
  • Format: Text & Interactive
  • Video access: Streaming Only
  • Before you start: Introduction to the Tidyverse
DataCamp details
  • Chapters: 4
Created byDataCamp
Available onDataCamp

Course Details
Learning Style

Start Anytime

Level

Beginner

Study Mode

100% Online

Duration

Short (< 10 Hours)

Languages
Audio Language

English

Outcomes
Certificate

Certificate of Completion

Price & Terms
Pricing Model

Free Preview (Paid Upgrade)

Technical
Content Medium

Text & Interactive

Video Access

Streaming Only

Specification
Access

Subscription

SKU: introduction-data-visualization-ggplot2 Category: Tags: , Brand:

Build scatter, bar and line plots in R with ggplot2, map data to color and size, fix overplotting, and style charts with themes.

At a glance
Duration4 hrs
LevelBeginner
CertificateCertificate of Completion
LanguageEnglish
Taught byRick Scavetta
AccessSubscription
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare

Plotting data in R with the ggplot2 package rests on the grammar of graphics, which builds a chart from separate layers. The challenge is turning continuous and categorical columns into visual scales a reader can take in at a glance, while keeping the audience in mind. You map variables to color, shape and size, choose a geometry that suits the data, deal with points that overlap, and finish by styling the chart so it is ready for publication.

What You Will Achieve

  • Map data columns to color, fill, shape and size, and tell a mapping apart from a fixed attribute in your code
  • Reduce overplotting in scatter plots with jittering, transparency and careful shape choices
  • Draw histograms, bar plots and line plots, and control how bars and bins are positioned
  • Adjust legends, whitespace and built-in themes to turn an exploratory chart into an explanatory one


Program Overview

Grammar of Graphics and Aesthetic Mappings

Begins with an audience-first mindset and the layers of a ggplot2 plot, then turns data columns into visual scales.

  • Exploratory versus explanatory plots
  • ggplot2 layers and adding geometries
  • Color, fill, shape, size and alpha
  • Mappings versus fixed attributes and their conflicts

Geometries for Common Plot Types

Builds scatter plots, histograms, bar plots and line plots, with several ways to construct each one.

  • Overplotting with large, aligned, low-precision and integer data
  • Bin and bar positions
  • Sequential color palettes for bar plots
  • Multiple time series

Themes and Publication-Quality Plots

Styles the finished chart and shapes it to explain a point clearly to readers.

  • Legend position and whitespace
  • Built-in themes and ggthemes
  • Explanatory plots built with geoms
  • Embellishments with annotate()

Certificate Awarded (Paid)

Complete the course to earn it.


Job Outlook

These plotting skills apply wherever data insights have to be communicated visually, including data science work and analysis roles in finance, marketing and business.


Our take

Good for: R learners who want a layer-by-layer method for building scatter, bar and line charts with ggplot2 and styling them for readers.

Keep in mind: It is the first course of a series, and the extra grammar of graphics layers that add more variables to a plot are left for the next course.

Bottom line: Steady practice on mappings, overplotting and themes gives a solid grounding in how ggplot2 assembles a chart.

Frequently Asked Questions

What separates an aesthetic from an attribute in ggplot2?

An aesthetic maps a data column onto a visual scale such as color or size, so it changes with the data, while an attribute fixes that property at one value. The lessons also show what happens when the two conflict.

Does the course cover every layer of the grammar of graphics?

No. It works with the data, aesthetics, geometries and themes layers. The next course in the series adds further layers for showing more variables in a plot.

Do the course videos come with transcripts?

Yes. Each video has a live transcript you can reveal from the bottom left of the player, and a course glossary sits in the resources section alongside the lessons.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in, then you will return here to post.

×

    Report this page
    Introduction to Data Visualization with ggplot2
    Introduction to Data Visualization with ggplot2
    LiveTalent
    Logo
    Compare items
    • Total (0)
    Compare
    0