https://github.com/thecomputeguy/presidential-elections
Understanding the intricacies of the US Presidential Elections via scrollytelling
https://github.com/thecomputeguy/presidential-elections
d3 scrollytelling visualization
Last synced: 26 days ago
JSON representation
Understanding the intricacies of the US Presidential Elections via scrollytelling
- Host: GitHub
- URL: https://github.com/thecomputeguy/presidential-elections
- Owner: TheComputeGuy
- Created: 2024-04-09T17:22:50.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-13T19:58:12.000Z (about 1 year ago)
- Last Synced: 2025-03-31T09:18:52.634Z (26 days ago)
- Topics: d3, scrollytelling, visualization
- Language: JavaScript
- Homepage: https://thecomputeguy.github.io/presidential-elections/
- Size: 778 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A newbie's guide to the US Presidential Elections
This scrollytelling experience aims to be a guide to understanding the electoral process conducted in the United States to elect the President, and some terms associated with it.
## Dependencies
### Libraries
This webpage uses D3.js v6 to create the visualizations, and scrollama to handle the scroll interactions. All of the dependencies have been included as a part of the source code.### Datasets
This project uses the following datasets:- US Presidential Elections (1976-2020) - Modified from the original sources at the [MIT Election Data and Science Lab](https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/42MVDX) and Bojan Tunguz on [Kaggle](https://www.kaggle.com/datasets/tunguz/us-elections-dataset)
- County-level election data collected by Tony McGovern on [Github](https://github.com/tonmcg/US_County_Level_Election_Results_08-20/)
- 2016 Electoral College Results - manually compiled from the data from [National Archives](https://www.archives.gov/electoral-college/2016)### Maps
To generate the chloropleth maps, this project uses the US Atlas TopoJSON repository on [Github](https://github.com/topojson/us-atlas).