CommencerCommencer gratuitement

Row orientation

In this exercise you'll switch your dashboard from a column-oriented layout to a row-oriented layout.

Cet exercice fait partie du cours

Building Dashboards with flexdashboard

Afficher le cours

Instructions

  • Change the dashboard to use a row layout
  • Expand the html output after knitting and inspect how the chart layout changed

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de 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"}
Modifier et exécuter le code