This is an analytical and geospatial breakdown of the sentiments of the 2016 presidential election among Twitter users in America

Alabama

First, we will look at Alabama. It was an easily won red state in the 2016 Presidential Election. According to the Live Results Map on www.realclearpolitics.com Donald Trump won 62.9 percent of the vote.

Here is a barplot that shows his polarity among Alabama residents on Twitter.
His polarity is clearly high in this state, especially when compared to Hillary Clinton’s.
Here is some text regarding Trump and Clinton’s polarity in Alabama compiled into wordclouds.

Vermont & New Hampshire

These two states consistently vote blue, and as they are such small states, I grouped them together for the purpose of this project. The Live Results Map shows Clinton winning with 61.1 percent of the votes in Vermont and 47.6 percent in New Hampshire.

This barplot atests to Clinton’s popularity in these states.
For contrast, here is Trump’s polarity among the two states. Because New Hampshire was close to a 50/50 split, the polarity has been slightly skewed, but it is still mainly negative.
Here is some text regarding Trump and Clinton’s polarity in VT and NH compiled into wordclouds.

Michigan

Finally, we come to the state of Michigan. While they did eventually vote Trump, the Live Results Map shows the vote as only a 0.3 percent difference between the two candidates. It was the closest split out of all 50 states.

Here are Trump and Clinton’s respective polarity barplots in Michigan.
Here is some text regarding Trump and Clinton’s polarity in Michigan compiled into wordclouds.

Polarity Map

These maps shows more clearly the relative polarity of each candidate among the lower 48 states.

Conclusion

Trump has a generally low polarity, including the states in which he won, but he was still elected because the electoral college voted for him. Clinton won the popular vote, but she did not gain the electoral college votes needed, therefore she was not elected president despite her more positive polarity.