Thinking outside the box: Developing dynamic data visualizations for psychology with Shiny

1 Department of Psychology, Lancaster University, Lancaster, UK
2 School of Psychology, University of Lincoln, Lincoln, UK



We have created a step-by-step tutorial on how to develop dynamic data visualizations using simple psychological data sets*. This can be split into four steps:


A: Data preparation
B: Creating static content to guide development 
C: Development and testing
D: Deploying an application online


Detailed information and sample code is provided below:


A: Data preparation

Unprocessed raw data - raw_data


Data for visualization (contains key variables only) - processed_data


B: Creating static content to guide development 



C: Development and testing


Example 1 - example1




Example 2 - example2




Example 3 - example3


D: Deploying an application online

Detailed guidelines can be found in our paper or directly from Shiny here


*=software required

R packages
**rsconnect - installed from GitHub type the following into your R console devtools::install_github('rstudio/rsconnect')


**=only necessary for online deployment