Session Ready
Exercise

Visualizing the Investment Annual Summary data

Now that you have all of the data ready for the report you're creating, you can start making plots that will be included in the report to help your audience visualize the data when they're reading the report. You'll start by creating a line plot of the investment_annual_summary data.

Instructions
100 XP
  • Load the ggplot2 package in the first code chunk, after the dplyr package on line 10.
  • In the investment-annual-summary code chunk, create a line plot using the investment_annual_summary data.
  • Plot the fiscal year (fiscal_year) on the x-axis, and investment amounts (dollars_in_millions) on the y-axis.
  • Color the plot by region, so that the plot in the final report displays each region as a different color in the line plot.