Skip to content

prescriptive-analytics/result-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobility Intervention of Epidemics Challenge Visualizer

This is a web app to let you visualize your Mobility Intervention of Epidemics Challenge results.

Usage

To get started install node.js and install the dependencies:

npm install
# or
yarn

To see the base map, you need a Mapbox access token that you can obtain by creating a Mapbox account. Set your Mapbox access token in .env:

REACT_APP_MAPBOX_TOKEN='<mapbox_access_token>'

Or set REACT_APP_MAPBOX_TOKEN directly in MetricMap.tsx.

To start the app bundle and serve the app with webpack:

npm start

The app comes with a sample results data located under the public/ folder. You can load the sample data using the Load button in the main screen and selecting the public/sample1.json file.

To visualize your own simulation results data, you must place the simulation results files in public/. Simulation results include simulation logs referenced through a JSON configuration file. For example public/sample1.json contains the following:

{
  "params": {
    "numIndividuals": 10001,
    "numDays": 21
  },
  "regionsFile": "sample1_regions.csv",
  "dailyStatsFile": "sample1_daily_stats.csv",
  "regionStatsFile": "sample1_region_stats.csv"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •