Visualizing and analyzing the 2022 election

Using data from

I wrote a program to visualize 2020 presidential elections results in 3d.  Few of the findings are new, but it is educational to see the visualizations first hand.

There were 480 counties in which at least 80% of voters voted for Trump (restricted to counties with at least 1000 total votes). In contrast, there were only 29 counties in which at least 80% of voters vote for Biden.  This suggests that Republicans are more partisan, but it’s skewed by the fact that Trump voters tend to live in rural counties, which would have lower population and be more homogeneous.

This following scatter plot shows that counties with higher income tended to vote for Biden. (Blue = Democrat = Biden)

Biden Trump votes
For people who voted for Trump, there’s a small negative correlation between average income of the county and the percent of the county that voted for Trump. In other words,  votes for Trump cluster at the upper left, where incomes are low and the percent voting for Trump is high.

Biden Trump votes

The next scatter chart shows that counties with higher education tend to vote for Biden.

Biden Trump votes

And counties with less education tend to vote for Trump. The correlation is strong.

Biden Trump votes

The following scatter chart shows clearly that counties with a high percent of black residents tend to vote for Biden.

Biden Trump votes

The following scatter chart shows clearly that counties with a high percent of black residents tend not to vote for Trump.


Biden Trump votes

 

Leave a Reply