Dashboards
Last Updated: 15 Oct 2019
By: Mine Cetinkaya-Rundel
By: Mine Cetinkaya-Rundel
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:
If you have questions about this article or would like to discuss ideas presented here, please post on RStudio Community. Our developers monitor these forums and answer questions periodically. See help for more help with all things Shiny.
Start
Build
Improve
Share
Your first Shiny app
Structure
Standalone apps
Interactive documents
Dashboards
Gadgets
Backend
Reactivity
Frontend
User interface
Graphics & visualization
Shiny extensions
Refactor
Code quality
Scale
Measure usage
Performance and scalability
Deployment
Distribution