erhardt / 2012-Election-Spectrometer

Shows 2012 election data from states on a Blue-Red Spectrograph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

election-example

A silly example on Processing that reads in 2012 US election results and draws them as text. Open the Election.pde to run the example. Modify the code to do something more interesting.

Instructions

  1. Download and install Processing
  2. Fork/download this repository to your computer
  • If you have a github account, you can fork this with the "fork" button
  • If you want to use your own git repository, you can download this using the "zip" button
  1. Open the Election.pde file on your computer with Processing
  2. Press the play button to run it
  3. Modify the draw() function to do something more interesting!
  4. Commit the changes to your git repository

Data

The data was sourced from the Guardian Data Blog. Their state data seems accurate, though incomplete. Their county data looked suspicious to me. Good enough for this playground.

http://www.guardian.co.uk/news/datablog/2012/nov/07/us-2012-election-county-results-download

About

Shows 2012 election data from states on a Blue-Red Spectrograph


Languages

Language:Java 100.0%