Map of Wisconsin midterm election results for 2018

See a map of the Wisconsin 2018 midterm election results from data provided by John Johnson.

Tony McGovern

1 minute read

Wisconsin Midterm Election Results for 2018

When voters in the state of Wisconsin cast ballots for national and state elections, they do so at the “ward”-level, an administrative boundary created to conduct elections. Yet when it comes to tabulating and reporting election results, Wisconsin officials combine wards into “reporting units”, larger administrative boundaries comprised of one or more wards. But there is no authoritative body that produces shapefiles for these reporting unit boundaries, leaving analysts, journalists, and the public little opportunity to visualize Wisconsin election results in any meaningful way.

For the 2018 midterm elections, John Johnson, Research Fellow at the Marquette Law School, filled in that gap and created a shapefile that provides high-quality, consistent boundaries and election results for Wisconsin. Expanding on his work, I used his shapefile – which also contains election data – and visualized the results. Wisconsin Midterm Results

I created the map in Power BI using the Mapbox Visual. I converted the shapefile to geojson with mapshaper and simplified its features using mapshaper’s command line tools. I applied the Visvalingam simplification method through the following statement:

-simplify 10%

I converted the geojson into a tileset using Mapbox Studio.

comments powered by Disqus