Skip to content

HughDevlin/ChicagoMunicipalFebruary2023VallasMajority

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chicago Election Results by Precinct

Simple elections results chloropleth for the web, using javascript, OpenStreetMap, and LeafLet.

View on GitHub Pages.

Clone me.

  1. Download Election Results in spreadsheet format as dataexport.xls from the Chicago Board of Election Commissioners (current as of offical results).
  2. Download precinct and (optionally) ward boundaries as GeoJSON from the City of Chicago Data Portal
  3. Run scripts to trim the Chicago geojson.
    1. precincts.mjs
    2. wards.mjs
  4. Use LibreOffice Calc or equivalent to export the results as a comma separated values (*.csv).
  5. Run script extendPrecincts.mjs to merge the CSV data into the precinct GeoJSON properties.
  6. Customize
    1. the color palette in docs/palette.mjs and the tests in test/TestPalette.mjs
    2. the precinct coloring and the legend in docs/app.mjs

Resources

About

Chicago municipal election, February 2023, Vallas majority precincts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published