- Interactive graphs with Shiny
10.9 Before class
Please install shiny
Please visit shinyapps.io and make an account (you may be able to activate an account associated with your TUoS account by clicking ‘sign in with Google’)
10.10 Exercises
We are going to follow Lisa DeBruine’s tutorial - First Shiny App.
Additional challenges / exercises
- Make scatterplot rather than histogram
- Make the app load data which you save in the project directory
- Deploy to the web with shinyapps.io
- This page may be helpful when combining exercises 2 and 3: Why does my app work locally, but not on shinyapps.io
- Look for and share additional resources on shiny apps
10.11 Resources
- This is part of a set of Shiny Tutorials
- RStudio: Shiny User Showcase
- Example: Movie-explorer
- Example: Enhanced sensitivity to group differences with decision modelling
- The Anatomy of a Shiny Application
- Shiny widgets - useful to get an idea of what you can do
10.12 Examples of interactive graphs which use different tech (Javascript!)
- Interpreting Cohen’s d Effect Size by Kristoffer Magnusson
- Example: Grid histograms of Constituencies by median age in 2017 from Oli Hawkins