Get startedGet started for free

Column widths

In this exercise you'll add a column and adjust the column widths.

This exercise is part of the course

Building Dashboards with flexdashboard

View Course

Exercise instructions

  • Add a second column to the dashboard with one chart in the first column and two charts in the second.
  • Adjust the column widths so that the first column is three times as wide as the second.

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\n\n### Chart B\n\n```{r}\n\n```\n\n### Chart C\n\n```{r}\n\n```\n\n\n"}
Edit and Run Code