Back to Mapbox elections

Data sources

Open data sources for elections geographies, voter resources, historical data and more.

2004-2016 presidential elections tilesets

Ready-to-build tilesets containing US presidential general election returns and demographic data from 2004 to 2016, powered by Mapbox Boundaries.

Albers USA projection style

Make a copy of this Mapbox style containing all 50 US states + Puerto Rico, and their counties.

Mapbox blog series: Mapping the US elections

Guide to Albers USA projection in Studio

The 2020 edition guide to feature state

Designing Electoral Maps: Exploring Mapbox GL JS


OpenPrecincts is a data and software resource to open the redistricting process to all citizens and ensure that the next decade’s district boundaries are fair for all voters. This project is building a national, high-quality set of precinct data files, suitable for use by citizens, researchers, and even redistricters themselves. Data completeness varies by state.


VoteAmerica is a nonprofit organization with a mission to provide access to trusted election information, open platform technology, and education programs to support and empower voters. They provide publically available election information data and embeddable tools for voters to check their registration, get registered, request an absentee or vote-by-mail ballot, find their polling place, and contact their local elections office.

Center for Public Integrity

Standardized data on historical general election polling places in the United States.

Civil Service is a nonpartisan, independent and Non-Profit Organization with the goal to help United States Citizens to be a part of what is happening in their Local, State & Federal Governments. Select a State to access Government and Demographic data including contact information for federal, state, and local elected representatives. Data is also available via an API.

Election calendar data (including deadlines for registration, absentee applications etc.) for the US, available in TOML and JSON with zip, state, and county.

MIT Elections Data Repository

The MIT Election lab is a clearinghouse for data sets that can fuel studies on elections and how they're conducted. Find election data and research tools produced by the lab and others. Also check out

Harvard Elections Data Archive

This archive contains data on election results, voting behavior, and electoral politics, with particular focus on the United States.   The core data for the archive are state, county and district level election returns for all recent state and federal elections in the United States.

Voter Files

Data about every registered voter and their voting history.

United States Elections Project

Access data on national voter turnout rates between 2000-2018: Voter turnout data. Github of 2020 Early Voting data.

Find open data about elections contributed by thousands of users and organizations across the world.

Find the results of past federal elections from several government sources.

Five Thirty Eight

Find the data and code behind some of Five Thirty Eight's articles and graphics.

US Census

In election years, the Current Population Survey collects data on reported voting and registration, and later reports stats by turnout, age, race and origin.

Boundary files

Historical United States Congressional District Shapefiles

Every U.S. Congressional District in use between 1789 and 2012.