A story about uncontested seats in the N.C. General Assembly using AngularJS, D3, HTML/CSS, JavaScript/jQuery, LeafletJS and R.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fonts
node_modules
public
views
.DS_Store
README.md
index.js
package.json

README.md

Uncontested Candidates

A story about uncontested seats in the N.C. General Assembly using AngularJS, D3, HTML/CSS, JavaScript/jQuery, LeafletJS and R.

#Install instructions:

  1. Download the ZIP file, unzip, and cd into the top directory with the terminal or command line.
  2. Run "npm install"
  3. Run "node index.js" and open http://localhost:8080/ on the browser of your choice.

#About the data:

This project's data was collected from the North Carolina State Board of Elections. Their full data site can be found here. The data was analyzed using the R scripts "house_script.R" and "senate_script.R" in the assets folder. The specific raw files used can be found in the priprecinct folder.

The district map used in this project was found in the NCGA Redistricting Archives and translated from a shapefile into geoJSON via ArcQGIS.