This repository contains an interactive dashboard that visualizes the cycles emerging from the resilience model presented in the paper "Struggling with change: The fragile resilience of collectives".
The dashboard lets users see the effect of parameter changes on cycles. The dashboard offers sliders that allow to interactively change each parameter and immediately see the effect on the cycles.
The dashboard is programmed in Python and JavaScript using the Bokeh visualization library. The code in this repository compiles the dashboard as an HTML website, which can then be viewed in standard web browsers. The dashboard performs all computations inside the user's browser without a backend server. An online version of the dashboard can be viewed here.
To generate the dashboard and view it, proceed as follows in a bash
terminal:
- Clone this repository, and install all Python packages from
requirements.txt
. - Type:
cd /path/to/repository
- Type:
make
- This generates a file
build/dashboard.html
, which can be opened in a browser.