An open API service indexing awesome lists of open source software.

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

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).