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](http://elections.nytimes.com/2012/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](http://colorbrewer2.com/).
Poll data from [Electoral-Vote.com](http://www.electoral-vote.com/evp2012/Pres/pres_polls.html).
没有合适的资源?快使用搜索试试~ 我知道了~
数据可视化项目
共24个文件
json:7个
js:7个
html:3个
需积分: 18 12 下载量 50 浏览量
2021-02-17
06:57:32
上传
评论 2
收藏 707KB ZIP 举报
温馨提示
数据可视化项目
资源详情
资源评论
资源推荐
收起资源包目录
Data-Visualization-Project-main.zip (24个子文件)
Data-Visualization-Project-main
Project3
jquery.mobile-1.4.5.min.css 203KB
thumbnail.png 41KB
jquery.mobile-1.4.5.min.js 195KB
us-states.json 149KB
electiontotals.json 1KB
usstates.json 86KB
index.html 2KB
js
d3.js 328KB
d3.min.js 147KB
elections.js 13KB
us.json 641KB
data2004.json 9KB
slider.js 9KB
main.js 8KB
custom.js 13KB
bubble.html 3KB
map.html 3KB
US presidential election results by county.csv 386KB
data2008.json 9KB
README.md 2KB
style.css 2KB
data2012.json 7KB
_config.yml 26B
README.md 29B
共 24 条
- 1
向朝卿
- 粉丝: 34
- 资源: 4443
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0