Skip to content

ekenes/election-2016

Repository files navigation

Change in voting behavior from 2012-2016

This map uses composite symbols to visualize voting behaviors in the 2016 U.S. presidential election.

results-map

And how they changed from the 2012 election.

change-map

Each symbol consists of three circles offset from one another, each colored based on the party it represents.

symbol-overview

In the visualization showing final voting results, each circle is sized based on the number of votes cast per party.

example-total

In the visualization showing the change in voting patterns between two elections, the size of the circle indicates the absolute change in total votes.

A filled circle indicates the party gained votes, and a hollow circle indicates the party lost votes. The following example shows the change in voting between the 2012 and 2016 presidential elections in Utah County, Utah.

example-change

Click or tap a symbol to view more details about the shift in voting between the two elections.

popup

Configuration

You can use this app to visualize the results and voting changes between two other elections. The most important requirement for replicating this visualization is to follow a similar schema in the data. To transition smoothly to other datasets, the layer should have fields containing the total votes for each party for two elections.

Once the data is in the right format, follow the steps below.

  1. Fork this repo.
  2. Open the config file to change the data sources and other information, such as years and candidate names.
  3. Update the references to field names to match those of the new data sources.
  4. You can configure the color and sizes of each symbol layer as well.
  5. Some aspects of the map may not look as good, such as the label placements, so you may need to update other parts of the app to improve the visual.
  6. The legend contains custom images. You may choose to modify the text and replace the images.

About

2016 U.S. election change in votes from 2012.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages