By: Mine Cetinkaya-Rundel
You have two package options for building Shiny dashboards:
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.
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
|R Markdown||Shiny UI code|
|Super easy||Not quite as easy|
|Static or dynamic||Dynamic|
|CSS flexbox layout||Bootstrap grid layout|
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.