Skip to content

radekstepan/politics-2016

Repository files navigation

Fetches historical and current betting odds for each US presidential candidate and visualizes them as a perceived probability of the candidate winning (median and q1-q3 values). Event highlights are included too.

image

Quickstart

$ nvm use
$ npm install
$ make start
# politics-2016/0.0.2 started on port 8080

To update the odds, pipe an NDJSON list of candidates into the following bin file:

$ cat ./data/candidates.json | ./bin/data.js

Releases

No releases published

Packages

 
 
 

Languages