Skip to content
Code to create the map tiles used in my visualization Where Are The Jobs? Heavily based on the code used in making the Racial Dot Map at
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Guide to making the dot maps

  1. Download wac files (at and 2010 Census Block shapefiles (from

  2. Run "" on a computer with GEOS. This creates one csv for each state with points for jobs that are categorized by quadkey and by type of job.

  3. Run "". This combines all the csvs into one big csv that is sorted by quadkey.

  4. When I ran this there were two lines at the end of the quadkey file that were incorrect. I deleted them manually--they are missing some important data. You can see them by doing tail all_meters.csv in the terminal. You can delete them by running sed '125126130,125126131d' all_meters.csv > all_meters_trimmed.csv (substitute the proper numbers)

  5. Run the Processing file "dotmap_server.pde".

  6. Copy over tiles to the website and set up the website. Make sure to turn off the automatic spelling correction on the server or else it will put tiles in the wrong place.

You can’t perform that action at this time.