The evidence map is built using Vue.js (using Vue CLI).
Make sure you've Node installed.
Clone this repo, navigate to app directory and run:
npm install
To start the app run:
npm run serve
The entry point is main.js and the main application code is in App.vue. Components for the sidebar, table, charts etc. are in components.
CSS styling is in the individual components e.g. the sidebar styling is at the bottom of components/Sidebar.vue
Build the app for production using npm run build which updates the dist directory. Upload the dist directory to your web server.
There are three CSV files:
evidence-map.csvwhich is the main data sheet containing a list of studiesinterventions.csvwhich contains a list of interventions. Each intervention has a category (e.g.HIV prevention, care and treatment interventions)outcomes.csvwhich contains a list of outcomes. Each outcome has a category (e.g.Individual-level outcomes)
Each study (in evidence-map.csv) has an Interventions and an Outcomes value consisting of a semi-colon separated list of ids. Each id links to a row in interventions.csv and outcomes.csv respectively.