This is a tutorial to show how to implement dashboards in R, using the new "flexdashboard" library package.
this new library leverages these libraries and allows us to create some stunning dashboards, using interactive graphs and text. What I loved the most, was the “storyboard” feature that allows me to present content in Tableau-style frames. Please note that for this you need to create RMarkdown (.Rmd) files and insert the code using the R chunks as needed.
Storyboard format allows you to logically move the audience through the analysis : problem statement, raw data and exploration, different parts of the models/simulations/ number crunching, patterns in data, final summary and recommendations. Presenting the patterns that allow you to accept or reject a hypothesis has never been easier.
Storyboard Dashboard:
Instead of analyzing a single dataset, I have chosen to present different interactive graph types using the storyboard feature. This will allow you to experience the range of options possible with this package.
An image of the storyboard is shown below, but you can also view the live document here (without source code or data files) . The complete data and source code files are available for download here, under May 2017 on the Projects page.
The storyboard elements are described below:
Story Points:
The different frames in the storyboard showcase different packages supported by R, for creating beautiful visuals.
Hope you found these implementations. Please do add your valuable feedback and inputs in the comments section.
Until next time, happy coding! :)
Views: 20576
Tags: R, Tableau, alternative, dashboard, data, flexdashboard, programming, tutorial, using, visualization, More…with
Comment
The link to the complete data and source code files in the Projects page is not working.
Hi Anupama, very nice tutorial. I created 8 different types of Dashboards in R, here is the link https://www.displayr.com/8-types-of-online-dashboards/
Update: the "getSymbols' in the Quantmod package no longer works as Yahoo! APIs have been discontinued. However, you can extract similar data using the "Quandl" package and API keys.
Thank you!
Very interesting example of dashboard.
Plotly also allows for linked plots which is a powerful tool for creating dashboards.
Great post on dashboards in R. There is also a great (free) software called Displayr that allows you to make killer dashboards in R. Check it out https://www.displayr.com/introduction-to-displayr-1-overview/
© 2021 TechTarget, Inc.
Powered by
Badges | Report an Issue | Privacy Policy | Terms of Service
Most Popular Content on DSC
To not miss this type of content in the future, subscribe to our newsletter.
Other popular resources
Archives: 2008-2014 | 2015-2016 | 2017-2019 | Book 1 | Book 2 | More
Most popular articles
You need to be a member of Data Science Central to add comments!
Join Data Science Central