CommencerCommencer gratuitement

Orientation par lignes

Dans cet exercice, vous allez passer d’une disposition orientée en colonnes à une disposition orientée en lignes pour votre tableau de bord.

Cet exercice fait partie du cours

Créer des tableaux de bord avec flexdashboard

Afficher le cours

Instructions

  • Passez le tableau de bord à une disposition par lignes
  • Développez la sortie HTML après le tricotage et observez comment la disposition des graphiques a changé

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