Skip to main content
HomeR

Intermediate Interactive Data Visualization with plotly in R

Learn to create animated graphics and linked views entirely in R with plotly.

Start Course for Free
4 hours15 videos54 exercises4,706 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

The plotly package enables the construction of interactive and animated graphics entirely within R. This goes beyond basic interactivity such as panning, zooming, and tooltips. In this course, you will extend your understanding of plotly to create animated and linked interactive graphics, which will enable you to communicate multivariate stories quickly and effectively. Along the way, you will review the basics of plotly, learn how to wrangle your data in new ways to facilitate cumulative animations, and learn how to add filters to your graphics without using Shiny.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Interactive Data Visualization in R

Go To Track
  1. 1

    Introduction and review of plotly

    Free

    A review of key plotly commands. You will review how to create multiple plot types in plotly and how to polish your charts. Additionally, you will create static versions of the bubble and line charts that you will animate in the next chapter.

    Play Chapter Now
    Interactive and dynamic graphics
    50 xp
    Which is the interactive graphic?
    50 xp
    A simple time series plot
    100 xp
    A simple scatterplot
    100 xp
    Adding aesthetics to represent a variable
    50 xp
    Color and size
    100 xp
    Plotting symbols
    100 xp
    Polishing your graphics
    100 xp
    Moving Beyond Simple Interactivity
    50 xp
    Bubble charts
    100 xp
    Many time series
    100 xp
  2. 3

    Linking graphics

    When you are exploring unexpected structure in your graphics, it's useful to have selections made on one chart update the other. For example, if you are exploring clusters observed on a scatterplot, it is useful to have the selected cluster update some chart of group membership, such as a jittered scatterplot or sets of bar charts. In this chapter, you will learn how to link your plotly charts to enable linked brushing. Along the way, you will also learn how to add dropdown menus, checkboxes, and sliders to your plotly charts, without the need for Shiny.

    Play Chapter Now
  3. 4

    Case Study: Space launches

    In the final chapter, you will use your expanded plotly toolkit to explore orbital space launches between 1957 and 2018. Along the way, you'll learn how to wrangle data to enable cumulative animations without common starting points, and hone your understanding of the crosstalk package.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Interactive Data Visualization in R

Go To Track

datasets

Economic indicators for the 50 states and Washington, D.C. from 1997 to 2017Complete list of all orbital space launches between 1957 and 2018

collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
David Campos
Adam Loy HeadshotAdam Loy

Assistant Professor of Statistics at Carleton College

Adam is an assistant professor of statistics at Carleton College where he teaches courses in statistics in data science. His research interests lie in statistical graphics and computing, R development, and statistics/data science education. Find out more on Adam's webpage.
See More

What do other learners have to say?

FAQs

Join over 15 million learners and start Intermediate Interactive Data Visualization with plotly in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.