Tabsets
In this exercise you'll create a tabset to show two charts in the same layout space.
This exercise is part of the course
Building Dashboards with flexdashboard
Exercise instructions
- Add a second chart to the first column that displays as a second tab.
- Expand the html viewer after knitting and navigate between the two tabs.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
{"my_document.Rmd":"---\ntitle: \"Bikeshare\"\noutput: \n flexdashboard::flex_dashboard:\n orientation: columns\n---\n\n```{r setup, include=FALSE}\nlibrary(flexdashboard)\n```\n\nColumn\n-----------------------------------------------------------------------\n\n### Chart A\n\n```{r}\n\n```\n\nColumn\n-----------------------------------------------------------------------\n\n### Chart B\n\n```{r}\n\n```\n\n### Chart C\n\n```{r}\n\n```\n\n\n"}