Using the Leaflet Javascript library, we can plot the locations of Clinton and Trump’s campaign stop as an interactive spatial map against the eventual 2016 results by state.

We can also plot a time-series chart to track events against the polls


Polling data was scraped from the Huffington Post’s API at “http://elections.huffingtonpost.com/pollster/api/v2/questions/16-US-Pres-GE%20TrumpvClinton/poll-responses-clean.tsv”

This is a bar chart comparing the most frequently visited states during the last 2 months of the 2016 campaign


Hillary Clinton spent the last 2 months covering 67 events in 14 states, while Donald Trump covered 106 events over 21 states.

While both candidates heavily prioritized the swing states of Florida and North Carolina in the closing stretch, Trump was able to cover more of the key Rust Belt states like Pennsylvania, Ohio, Michigan, and Wisconsin.

This is a bar chart comparing the most frequently visited states during the GOTV (last 2 weeks)