Exercise

Plotting time series with autoplot

Great job so far! In this course, you'll be working with a few different time series datasets – one of which is the maunaloa dataset, consisting of observations of atmospheric carbon dioxide (CO2) taken at the Mauna Loa observatory in Hawaii.

One of the most critical steps in data science is to explore your data — this gives you a feel for what your data looks like, such as where outliers may be, or what the general trend in the data is.

In this exercise, you'll practice creating an autoplot from the ggplot2 package.

The ggplot2 package and the maunaloa time series are loaded for you.

Instructions 1/2

undefined XP
  • 1
    • Generate an autoplot of the maunaloa time series.
  • 2
    • Create a second autoplot, using the minimal theme from ggplot2.