-
Notifications
You must be signed in to change notification settings - Fork 324
Building the Visualization Locally
Yuxin David Huang edited this page Apr 12, 2021
·
5 revisions
The interactive visualization was based on d3-foresight a D3.js package built by the Reich Lab. Some custom package configurations were made and the adapted d3-foresight package is called covid-d3-foresight.
These are automatically installed when you run the one time setup
-
Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install python3
brew install python3
-
Run one-time setup
cd ./visualization
bash ./one-time-setup.sh
# if on mac
npm run build-viz-mac
# if on linux
npm run build-viz-linux
If you have Python 2.x:
cd ./visualization/vis-master/dist
If you have Python 3.x:
cd ./visualization/vis-master/dist
python3 -m http.server
- Home
- Submitting Forecasts
- Data Validation
- Truth Data
- Baseline model
- Weekly ensemble release
- Developer