Calculate and display partisan bias in a delegation's districts with efficiency gap scores.
Swap-out and configure election results and district boundaries then automatically generate a series of infographics for each delegation in the election.
A project of Azavea Data Analytics.
Read more about the methods used in this project on the Azavea Blog, "Leveraging Node.js, D3.js, and HTML Canvas for Scalable Infographics".
For more information about Azavea's redistricting work, read "The Evolution of Azavea’s Redistricting and Gerrymandering Work".
By default, this project is setup to generate reports on the 2016 US Congressional election. The file results.csv is the data used to generate reports.
Requires Node.js.
Install dependencies with:
npm install
Edit config.yml to point to your election data.
npm run reports
Images for each delegation will be written to the figures directory.
