1. Learn
  2. /
  3. Courses
  4. /
  5. Building Dashboards with flexdashboard

Connected

Exercise

Make a plot web-friendly

Let's use ggplotly() on the graph we tried re-sizing.

Instructions

100 XP
  • Use ggplotly() to make the duration_gg graph in the Trip Durations chart web-friendly.
  • Knit and expand the HTML viewer to see the result. Try resizing the window and observe what happens.