Analyze midterm election results

Save a copy of the map

First, you'll sign in and save a copy of a map with election data so you can change it however you want.

  1. Open the Midterm Election 2018 USA map.
  2. Click Sign In.

    Sign In button

  3. Sign in to your ArcGIS organizational account.
    Note:

    If you don't have an organizational account, you can sign up for an ArcGIS free trial.

  4. On the ribbon, click Save and choose Save As.

    Save As option in the Save menu

  5. In the Save Map window, fill in the following parameters:
    • For Title, type 01 Election 2016 Swing States followed by your name or initials.
    • For Summary, type Map of swing states in the 2012 USA Presidential Election.

    Save Map window

  6. Click Save Map.

    You've saved a copy of the map. Next, you'll look at the map's data.

Map swing states

Some of the map's data is for the 2012 and 2016 United States presidential elections. You'll look at this data, change its style, and examine differences between the outcomes of the two elections.

  1. Click the Show Contents of Map button.

    Show Contents of Map button

    The Contents pane appears. It lists all layers on the map.

    This map includes six layers. Currently, none of these layers are turned on, which means they aren't displayed on the map. You'll turn on the States 2012 Election layer, which contains data for the 2012 United States presidential election between Barack Obama and Mitt Romney.

  2. Check the box for States 2012 Election.

    The layer turns on. It shows the United States, with each state styled using an orange color.

    The orange color isn't very meaningful, so you'll change the style based on the layer's attribute data. Attribute data is data that is associated with each feature in a layer. For example, in this layer, each state has attribute information about whether Obama or Romney won the state.

  3. Point to the States 2012 Election layer and click the Change Style button.

    Change Style button

    The Change Style pane appears. By default, this layer's style is Location (Single Symbol), which means every feature on the map has the same symbol.

  4. For Choose an attribute to show, choose F2012_elec.

    Choose an attribute to show parameter set to F2012_elec

    The F2012_elec attribute tells whether a state was won by Obama or Romney. By changing the style to use this attribute, every state is styled either red or blue.

    Map styled by the F2012_elec attribute

    The legend explains what the two colors represent. States styled red were won by Democratic presidential candidate Obama, while states styled blue were won by Republican presidential candidate Romney.

    The Democratic Party in the United States is usually associated with blue, while the Republican Party is usually associated with red. The default colors used by the map are backward, so you'll change the colors.

  5. In the Select a drawing style section, for Types (Unique symbols), click the Options button.

    Options button

    More options to change the style appear.

  6. Click the red symbol next to Obama.

    Red symbol next to Obama

    A window appears. This window has options to change the color and transparency of the symbol.

  7. Click the blue color in the third row, third-to-last column.

    Blue color

  8. Click OK. In the Change Style pane, click the blue symbol next to Romney.
  9. Click the red color in the third row, third column.

    Red color

  10. Click OK.
  11. At the bottom of the Change Style pane, click OK. Click Done.

    The colors on the map now match the colors of the political party of each candidate.

    Map with colors changed to match political parties

    Next, you'll look at data for the next United States presidential election, which took place in 2016 between Democratic presidential nominee Hillary Clinton and Republican presidential nominee Donald Trump.

  12. In the Contents pane, check the box for States 2016 Election to turn it on. Uncheck the box for States 2012 Election to turn it off.

    You'll also change the style for this layer.

  13. Point to the States 2016 Election layer and click the Change Style button.
  14. In the Change Style pane, for Choose an attribute to show, choose Win2016S.

    This time, the Republican candidate is styled using red and the Democratic candidate is styled using blue, so you don't need to change the colors.

  15. Click Done.

    Map showing the presidential election results of 2016

    Between 2012 and 2016, six states changed from blue to red. You'll create map notes for each of these states to emphasize them on the map.

  16. On the ribbon, in the search box, type Florida and press Enter.

    The map navigates to the state of Florida.

  17. In the Search result pop-up, click Add to Map Notes.

    Add to Map Notes button

    A point feature is added to the map at the center of the state.

  18. Add map notes for the states of Iowa, Michigan, Ohio, Pennsylvania, and Wisconsin. When finished, zoom out to the full extent of the United States.

    Map notes on the map

    What does it mean for a state to be red or blue? In the United States, presidential elections are not decided by the total number of votes, also known as the popular vote. Instead, they're determined by the electoral vote. Each state has a specific number of electoral votes based on its number of senators and representatives. All states have two senators each, but the number of representatives depends on the state's population. For example, California (the state with the highest population) has 53 representatives, while Wyoming (the state with the lowest population) has only one representative. In the 2016 election, California had 55 electoral votes (53 representatives plus two senators), while Wyoming had three (one representative plus two senators).

    By winning the popular vote in a state, a presidential candidate wins all of the state's electoral votes. The presidential candidate who wins a majority of the electoral votes wins the election and becomes president, regardless of the total number of votes they received across the country. For instance, in 2016, the candidate who won the popular vote lost the electoral vote and thus the election. That's why analyzing election results on a state-by-state basis is important for crafting future election strategies.

  19. On the ribbon, click Save and choose Save.

Compare voting percentages by party

Next, you'll compare voting percentages by party for counties in the United States.

  1. On the ribbon, click Save and choose Save As.
  2. In the Save Map window, for Title, type 02 USA Counties Election 2018 and add your name or initials. Click Save Map.

    Another copy of the map is saved.

  3. In the Contents pane, uncheck States 2016 Election and Map Notes. Check Counties 2016 Election.

    This layer contains attribute information about election results by county. In the United States, every state is made up of multiple counties. Like the layers you looked at previously, this layer's default style is not useful for understanding the election results, so you'll change it.

  4. Point to the Counties 2016 Election layer and click the Change Style button.

    Previously, you styled layers by a single attribute that showed which candidate won each state. This style was useful for mapping states because it doesn't matter by how much a candidate wins a state. Even if a candidate wins a state by a single vote, they win all of the state's electoral votes. However, at the county level, it's more important to see the degree by which each candidate won.

    To show this degree, you'll use predominance mapping, which compares attributes that share a common subject and unit of measurement to see which has the highest value. You'll compare attributes that show the percentage of votes for the Republican and Democratic candidate in each county.

  5. For Choose an attribute to show, choose %GOP.
    Note:

    In the United States, the Republican Party is sometimes called the GOP, which stands for Grand Old Party (the party's traditional nickname).

    Predominance mapping requires multiple attributes.

  6. Click Add attribute.

    Add attribute

    The %DEM attribute is chosen as the second attribute by default. These are the attributes you'll compare.

  7. For Select a drawing style, for Predominant Category, click Select.

    Select button for Predominant Category drawing style

    The style on the map is now based on predominance. Counties with a higher percentage of Republican votes are brown, while counties with a higher percentage of Democratic votes are yellow. You'll change the colors to red and blue.

  8. For Predominant Category, click Options.
  9. Click the brown symbol next to %GOP. Choose the red color in the third row, third column and click OK.
  10. Click the yellow symbol next to %DEM. Choose the blue color in the third row, third-to-last column and click OK.

    The colors now match the party.

    Map with counties styled by predominance

    Not every county is the same red or blue color. Counties with lighter red and blue colors are counties where the percentage of Republican and Democratic voters was close, while counties with darker red and blue colors are counties where one party received a much higher percentage of the votes than the other.

  11. At the bottom of the Change Style pane, click OK. Click Done.

    You'll turn on another layer to show the outlines of each state.

  12. In the Contents pane, turn on the USA States (Generalized) layer.

    Predominant political party affiliation by counties in the continental United States

    Presidential campaigns consume significant amounts of money, time, and people. These costs grow with each election cycle. Candidates cannot campaign everywhere. As a result, campaigns prioritize where to send resources in order to maximize the odds of winning the electoral vote. This map indicates regional voting trends and can help campaigns better understand which areas to target.

    One shortcoming of this map is that it doesn't indicate the population of each county. Some counties in the United States have millions of people, while others have as few as 100. In several states, the Republican candidate received a majority of the vote in a majority of counties, but the Democratic candidate won the state by winning a small number of counties that have significantly more people. It's important for campaigns to consider the population of each county and state before deciding to commit resources to it.

    Tip:

    If you want to see the total number of votes in each county, click the county on the map. A pop-up appears with all of the attribute information associated with the county. The Total_Votes attribute shows the total number of votes. Try clicking several counties in a single state to see how much the number of votes can vary from county to county.

  13. Save the map.

Examine voting percentages in a single state

Next, you'll look at a single state (Virginia) in more detail.

  1. On the ribbon, click Save and choose Save As.
  2. In the Save Map window, for Title, type 03 Virginia followed by your name or initials. Click Save Map.

    You'll filter the counties layer to only show counties in Virginia.

  3. In the Contents pane, point to the Counties 2016 Election layer and click the Filter button.

    Filter button

  4. In the Filter window, build the expression state is Virginia.

    Filter window to filter counties in Virginia

  5. Click Apply Filter and Zoom to.

    The map centers on the state of Virginia and only shows Virginia counties.

    Map of counties in Virginia

    The counties with a lighter shade of blue or red indicate a narrower difference in voting percentages between both political parties.

  6. Save the map.

Identify redrawn congressional districts

A congressional district is a geographic designation that elects a single representative to the United States House of Representatives. (As mentioned previously, the number of these representatives helps determine how many electoral votes a state receives.) State governments usually redraw the nation's 435 congressional districts every decade.

The United States Constitution mandates reapportionment, which is the equal division of congressional seats based on population. Gerrymandering occurs when a party redraws political boundaries to maximize the number of districts favorable to them.

Note:

See American redistricting history for more information about the history of reapportionment and gerrymandering in the United States.

Normally, reapportionment is based on the decennial United States Census count; however, judges can order, and legislatures can redraw, new lines during the intervening years. In 2016, a federal judge ordered new congressional lines that ultimately impacted five of Virginia's districts. The new maps took effect between the 114th United States Congress in 2016 and the 115th U.S. Congress in 2018.

You'll examine the differences between the congressional districts of the 114th and 115th Congress.

  1. On the ribbon, click Save and choose Save As.
  2. In the Save Map window, for Title, type 03 Virigina Districts followed by your name or initials. For Summary, type Map exploring differences between the 114th and 115th congressional districts in Virginia.
  3. Click Save Map.
  4. In the Contents pane, turn off the Counties 2016 Election layer and turn on the USA 114th Congressional Districts layer.

    The layer contains congressional districts across the county. You'll filter the layer to only show districts in Virginia, where they were redrawn in 2016.

  5. Point to the USA 114th Congressional Districts layer and click the Filter button. In the Filter window, create the expression STATE is VA.

    Filter for congressional districts in Virginia

  6. Click Apply Filter.
  7. Turn on the USA 115th Congressional Districts layer.

    You'll filter this layer the same way.

  8. For the USA 115th Congressional Districts layer, click the Filter button. Create the expression STATEEFP is 51 and click Apply Filter.

    Next, you'll identify the five congressional districts in Virginia that had their boundaries redrawn. You'll label each district so its name appears on the map.

  9. For the USA 114th Congressional Districts layer, click the More Options button and choose Manage Labels.

    Manage Labels option

  10. In the Label Features pane, change the following parameters:
    • For Text, choose DISTRICT FIPS.
    • Check the box for Halo.
    • Adjust the Visible Range slider until the labels appear on the map.

    Label for the USA 114th Congressional Districts layer

  11. Click OK.
  12. For USA 115th Congressional Districts, click the More Options button and choose Create Labels.
  13. In the Label Features pane, change the following parameters:
    • For Text, choose CD115FP.
    • Check the box for Halo.

    Both layers have labels.

  14. Click OK.
  15. Uncheck and check the USA 115th Congressional Districts layer.

    By comparing the two layers, you can see differences between the congressional districts. Which congressional districts in Virginia changed between the 114th and 115th Congress?

    Based on the map, the congressional districts on the eastern side of the state were redrawn, while those to the north and west remained the same. In particular, the districts labelled 01, 02, 03, 04, and 07 were redrawn.

  16. Save the map.

Style congressional districts

Next, you'll use predominant mapping to show how congressional districts voted in 2016.

  1. Click Save and choose Save As.
  2. In the Save Map window, for Name, type 05 VA Districts Voting followed by your name or initials. For Summary, type Map using predominant mapping to show how congressional districts in Virginia voted in 2012 and 2008.
  3. Click Save Map.
  4. Turn off the USA 114th Congressional Districts layer.

    Now, only the USA 115th Congressional Districts layer and the USA States (Generalized) layer are turned on. You'll style the congressional districts layer the same way you styled counties, comparing votes for each candidate.

  5. For the USA 115th Congressional Districts layer, click the Change Style button. For Choose an attribute to show, choose Clinton 2016.
  6. Click Add attribute and choose Trump 2016.
  7. For Select a drawing style, for Predominant Category, click Select.

    Select button

  8. Click Options.
  9. Click the symbol next to Trump 2016. Choose the red color in the third row, third column and click OK.
  10. Click the symbol next to Clinton 2016. Choose the blue color in the third row, third-to-last column and click OK.
  11. At the bottom of the Change Style pane, click OK. Click Done.

    Red and blue congressional districts in Virginia

  12. Save the map.

Identify polling station gaps

A precinct is among the smallest voting districts recognized by the United States Census Bureau. It's roughly the size of a neighborhood. A polling place is where ballots are cast. The location, proximity, and structure of a polling station can influence how people vote. For example, voting at a school could prompt people to support an education tax increase. Also, more precincts in an area may shorten lines and increase voter turnout.

Next, you'll identify gaps in voting locations in Fairfax County, Virginia. To do so, you'll determine how much of the county is within a three-minute drive of a voting location.

  1. Open the Midterm Election 2018 Fairfax map. Click Sign In and sign in to your ArcGIS organization.
  2. Click Save and choose Save As. In the Save Map window, for Title, type 06 Fairfax Precincts and Polling Places followed by your name or initials.
  3. Click Save Map.
  4. Click the Show Contents of Map button and turn on the Polling Places layer.
  5. Point to the Polling Places layer and click the Perform Analysis button.

    Perform Analysis button

  6. Click Use Proximity and choose Create Drive-Time Areas.

    Create Drive-Time Areas

    The Polling Places layer is already chosen as the default point layer.

  7. Under Measure, for Driving Time, type 3.

    Driving time changed to 3 minutes

  8. For Result layer name, add your name or initials.
  9. Uncheck Use current map extent and click Run Analysis.

    Updated result layer name with Use current map extent not checked

  10. Click Run Analysis.

    The tool takes a few moments to run. When it completes, it adds a layer to the Contents pane and to the map.

    Next, you'll change the style of one of the map layers to better see the drive-time areas.

  11. In the Contents pane, for Voting Precincts, click the Change Style button.
  12. Click Options and click Symbols.
  13. On the Fill tab, click No Color.

    No color

  14. Click the Outline tab. Change the color to black (sixth row, second column) and increase the Line Width to 2 px.

    Outline symbology

  15. Click OK. At the bottom of the Change Style pane, click OK and click Done.
  16. Save the map.

    Areas in Fairfax County, Virginia, within three-minute drive time of polling location

    Purple areas are those within 3 minutes of a polling location. Most of the county is covered by these areas, but some places are not. A few of the areas that are far away from polling places are military bases or parks, so polling places aren't needed. But there are some residential areas in the center and western edges of Fairfax County that could use a polling location.

Share your results with a story

ArcGIS StoryMaps allows users to combine maps with text, images, and multimedia content to present data through a narrative. Next, you'll create a story from your six local, state, and national political maps.

  1. At the top of the page, click Home and choose Content.

    Content option

  2. In the list of your content, locate and click the 01 Election 2016 Swing States web map.

    The web map's details page opens.

  3. Click Create Web App and choose StoryMaps.

    Create a story

    Your map loads into the ArcGIS StoryMaps builder with placeholder text.

  4. For Title your story, type 2018 Midterm Election Analysis.

    Update title for your story

  5. On the ribbon, click Design.

    Design on the ribbon

    The Design pane appears.

  6. For Optional story sections, turn on Navigation.

    Navigation turned on

  7. For Theme, choose Slate. Close the Design pane.
  8. Scroll down and point under the map.

    Add content block button

    The Add content block button appears.

  9. Click the Add content block button and choose Text.

    Add Text content block to your story

  10. In the Text Edit Bar, click Paragraph and choose Heading. Type 2016 Swing States.
  11. Scroll up and point to the upper left of the map until the Move Content button becomes visible.

    Move content button visible

  12. Drag the Move Content button and drop the map under the heading.

    Map content block dragged below text heading block

  13. Under the map, click the placeholder caption text and type Republican (red), Democratic (blue), and swing states from the 2016 presidential election.
  14. Point under the map, click the Add content block button, and choose Text.
  15. For Paragraph, choose Heading and type 2018 County Election Results.
  16. Point under the heading, click the Add content block button, and choose Map.
  17. Choose 02 USA Counties Election 2018 (your initials) and click Place Map.
  18. Update the caption accordingly.
  19. Add maps and captions for the other four maps you created in this lesson.

    Story with Navigation bar

    Your story is designed with navigation links so viewers can quickly see each of your maps. You're ready to share your story.

  20. On the ribbon, click Publish. Set the sharing level to Everyone (Public) and click Publish story.
    Note:

    You may be prompted to share web maps that do not have permissions set to the same level. If prompted, click Yes, share these items.

    On the ribbon, you can click any of the social share buttons to share your story.

    Social share buttons

In this lesson, you created, analyzed, and interpreted political maps featuring the United States presidential election results and congressional districts in Virginia. You also created a story with ArcGIS StoryMaps for sharing. The maps you created could help inform the next election campaign.

You can find more lessons in the Learn ArcGIS Lesson Gallery.