Dashboards

You have two package options for building Shiny dashboards – flexdashboard and shinydashboard.
Author

Mine Cetinkaya-Rundel

Published

October 15, 2019

You have two package options for building Shiny dashboards: flexdashboard and shinydashboard.

flexdashboard

Easy interactive dashboards for R that

  • use R Markdown to publish a group of related data visualizations as a dashboard,
  • support a wide variety of components including htmlwidgets; base, lattice, and grid graphics; tabular data; gauges and value boxes; and text annotations,
  • are flexible and easy to specify row and column-based layouts with intelligent re-sizing to fill the browser and adapted for display on mobile devices,
  • offer storyboard layouts for presenting sequences of visualizations and related commentary, and
  • optionally use Shiny to drive visualizations dynamically.

See documentation and demos on the flexdashboard homepage.

shinydashboard

See documentation and demos on the shinydashboard homepage. Here, in addition to instructions for getting started, you can also browse example dashboards built with shinydashboard, along with their source code.

Comparison of two options

flexdashboard shinydashboard
R Markdown Shiny UI code
Super easy Not quite as easy
Static or dynamic Dynamic
CSS flexbox layout Bootstrap grid layout

Learn more

For more on this topic, see the following resources:

Dynamic dashboards with Shiny

Building dashboards with Shiny tutorial

Dashboards made easy