Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (19 loc) · 1.01 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.01 KB

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