Session Ready
Exercise

Static Graph

Now we'll add a graph to our dashboard.

Instructions
100 XP
  • The provided R code chunk static_plot (under the setup chunk) contains code to create a single static plot using ggplot2.
  • Move this code chunk so that it appears as a plot in the Trip Durations chart.
  • Knit and then expand the HTML viewer. Note the sizing of the plot with relation to the size of the chart container. Try resizing the window and observe what happens.