block by zanarmstrong bd02270c64adca682adc217e3bf52e47

US Electoral Map Sized by Electoral Votes

Full Screen

THIS IS NOT MY WORK - I forked from rpgove‘s block: US Electoral Map Sized by Electoral Votes SO THAT I COULD LEARN FROM IT.

This visualization shows the USA electoral map, with states sized by the number of electoral votes for each state.

Click a state to see its details, and drag the slider to update the visualization with different poll data. The data displayed shows the most recent polls conducted for each state before the date selected on the slider, or the Election 2008 Presidential Election outcome if no polls occurred in that state before the selected date. The chart on the right shows the electoral vote tally for the selected polls. A toss up occurs if the Democrat and Republican candidate are within 2 points (e.g. 47% to 49%).

I created this visualization because I thought most electoral map visualizations don’t tell the whole story. Most maps try to size states according to their geographic area, but visually this makes Wyoming look like it has much more weight in the election than D.C., even though they both have the same number of electoral votes. The New York Times created a great interactive electoral map that solves that problem, but it also makes all the states square shaped. I thought it would be fun to take an alternate approach and retain the states’ shapes in order to support recognition over recall.

Note that this visualization makes no attempt to show how Maine or Nebraska’s votes might be separated. The NY Times visualization does show this, however.

Colors by ColorBrew.

Poll data from Electoral-Vote.com.

index.html

main.js

style.css