Skip to content

Hear-Ye/election-history

 
 

Repository files navigation

US Presidential Elections since 1789

Note: This project has been, to the best of my knowledge, verified to the best of my abilities. There may, however, still be errors or inaccuracies. If you bump into an inaccuracy, simply open an issue so I can correct as soon as I can.

About

Inspired by this Reddit post.

Wanted to expand on it with the following improvements:

  • including shading for margin of victory (% of winning party - % of next highest party)
  • expanding the dataset to the earliest possible election data
  • breaking down the states into regions, since there are clear election patterns

Gallery

Election Results by Region

Election Results by State (ordered by Admission into Union)

Election Results by State (ordered alphabetically)

Sources:

Election Data

Other Data

Tools used:

  • ggplot2
  • Rstudio

About

US Presidential Elections since 1789

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%