Geocode and symbolize campaign contributions
First, you will use demographic information about the voting population in the city of Albuquerque, the largest city in New Mexico. You'll start by creating a map of the voters broken into census tracts, which are subdivisions usually numbering between 1,500 and 8,000 people. These smaller divisions will facilitate your research about Albuquerque voters. You'll geocode, or geographically locate, a spreadsheet of addresses, so you can begin to identify the locations of potential voters.
Geocode campaign contributions
Albuquerque is in Bernalillo County, the most populous county in the state, stretching from the east of the Sandia Mountains to the Volcano Cliffs on the west mesa. In the 2019 census estimates, Albuquerque was home to over 560,000 residents. With a median household income is $52,911, this area is home to a diverse and culturally rich community.
Political campaign contributions can inform who and which businesses support a candidate or political party. Political contribution data is often available as a public record on government agency websites or as physical records. You were able to obtain an electronic copy of political contributions for the Albuquerque mayoral campaign of 2017. By mapping where the contributions came from and the amount of each contribution, you will gain a better understanding of the outreach opportunities for your campaign.
First, you'll map Albuquerque and its boundaries. Using ArcGIS Online, you'll create a map of the area and add census tracts.
- Download the file ABQ_Voter_Data.csv.
- Open the CSV file and review the spreadsheet.
The CSV file includes address data, the type of contribution, whether the contributor was an individual or a group or business, the occupation of the contributor, and the political affiliation of the candidate who received the contribution.
- Sign in to your ArcGIS organizational account.
If you don't have an organizational account, see options for software access.
- If necessary, on the ribbon, click the Content tab.
- Click New item.
The New item window appears.
- In the New item window, click Your device and select the CSV file you downloaded.
- For How would you like to add this CSV?, ensure Add ABQ_Voter_Data.csv and create a hosted feature layer or table is selected and click Next.
- Review the fields, accept the defaults, and click Next.
The following parameters are for the geocoding addresses in the CSV files.
- Under Location settings, expand Advanced location settings. For Region, choose United States.
- Under Location fields, select Location information is in multiple fields. For Address or Place, choose Address_1.
Geocoding will consume credits. Credits are the currency used across ArcGIS and are consumed for specific transactions and types of storage, such as storing features, performing analytics, and using premium content. Geocoding, or matching addresses when publishing a spreadsheet as a hosted feature layer using ArcGIS World Geocoding Service consumes credits. Click here to learn more about credits.
The City, State, and ZIP fields were automatically selected.
- Click Next.
- For Title, type Albuquerque Voter Data 2018, followed by your initials. For Tags, type Albuquerque and voter data, pressing Enter after each tag.
- Click Save.
The item page appears. A window appears confirming that 814 locations were successfully geocoded.
- In the Review Locations window, click No.
- Click the arrow for Open in Map Viewer Classic and click Open in Map Viewer.
Depending on your organizational settings, you may not need to click the arrow to select Open in Map Viewer. In which case, click Open in Map Viewer to open the map.
The map opens, showing points in Albuquerque, New Mexico, where political contributions were made to the 2017 mayoral election. There were two candidates, one affiliated with the Democratic Party and the other with the Republican Party.
First, you will configure your map to show where the largest contributions came from and to which candidate they were made.
- On the Settings (light) toolbar, click Styles.
- In the Styles pane, under Choose attributes, click Field. Select ContributionAmount and Political_Affl and click Add.
- In the Styles pane, click Done.
The layer style is updated, showing Republican contributions in red and Democratic contributions in blue.
Next, you will update the basemap to a simpler design so it will be easier to view the contribution points.
- On the Contents (dark) toolbar, click Basemap and choose Light Gray Canvas.
The points are more visible. Next, you will add the city boundaries for Albuquerque so you can better distinguish where the city limits start and end.
- On the Contents toolbar, click Layers, and click Add layer.
- In the Add layer pane, click My Content and choose ArcGIS Online. In the search bar, type Albuquerque owner:Learn_ArcGIS and press Enter.
- For the Albuquerque_City_Boundary layer, click the Add button.
The layer is added to your map.
- If necessary, close the Styles and Layers panes so you can better view the map.
In the map, it appears the amounts of contributions from a single address are much higher for the Republican candidate. It is difficult to see where the Democratic candidate has a strong base of support. You will create a copy of this layer and symbolize the contributions to the Democratic candidate on a different scale.
Style contribution layers
Before you create a copy of the contribution data layer, you will rename the current layer to distinguish it from the new layer. You will also use a filter to only show the contributions to one of the political parties.
- In the Add layer pane, click the back button to return to the Layers pane. For the Albuquerque Voter Data 2018 layer, click the Options button and choose Rename.
- Rename the layer Republican Contributions and click OK.
- Click the Republican Contributions layer to select it, and on the Settings toolbar, click Filter.
- In the Filter pane, click Add expression, build the expression Political_Affl is Republican, and click Save.
The layer shows contributions made only to the Republican candidate. Next, you will make a duplicate of this layer and style it to show the contributions made only to the Democratic candidate.
- In the Layers pane, for the Republican Contributions, click the Options button and choose Duplicate.
A new layer called Republican Contributions - Copy is added to your map.
- For the Republican Contributions - Copy layer, click the Options button and choose Rename.
- Rename the layer Democratic Contributions.
- In the Filter pane, change Republican to Democratic and click Save.
The layer shows contributions made only to the Democratic candidate. Next, you will edit the symbology so that symbols that overlap one another are visible. You will do this by adjusting the transparency level of the symbol and adding an outline.
- In the Layers pane, confirm the Democratic Contributions layer is selected. On the Settings toolbar, click Styles.
- In the Styles pane, under Choose attributes, remove Political_Affl.
- Under Pick a style, for Counts and Amounts (size), click Style options.
- Click the symbol under Symbol style.
- In the Symbol style window, under Fill, for Colors, choose a blue color.
In United States political parties, blue is commonly associated with the Democratic Party, and red is commonly associated with the Republican Party.
- In the Fill section, click Fill transparency, and type 30. Click Outline and choose a dark-blue color, then click Done.
Using transparency for the proportional symbols enables you to view smaller symbols that may be behind a larger one.
In the Symbol style pane, you can use a histogram of your data to determine symbol sizes. This is important for your map because the amount of contributions for the Republican candidate are much greater than contributions to the Democratic candidate, but you want to be able see which areas contributed the most support for the Democratic candidate.
You will use the histogram to symbolize the Democratic Contributions layer by classifying the data and will use the same classification breaks for the Republican Contributions layer later in the lesson.
- In the Style options pane, below the histogram, turn on Classify data.
Next you will adjust the three middle class breaks on the histogram so that you are able to see which areas had higher contributions to the Democratic candidate.
- Adjust the three middle class breaks to 10,000, 5,000, and 1,000.
- For Size range, set the upper value to 60.
The Democratic Contributions layer is now styled. Next, you will configure the symbology for the Republican Contributions layer in a similar way.
- In the Layers pane, click the Republican Contributions layer, and in the Styles pane, under Choose attributes, remove Political_Affl.
- For Counts and Amounts (size), click Style options, and in the Style options pane, click the symbol under Symbol style.
- Update the symbol to a red color, set the Fill transparency to 30, and set the outline color to red.
- Configure the histogram as follows:
- Turn on Classify data.
- On the histogram, set the three middle breaks to 10,000, 5,000, and 1,000.
- Set the upper Size range to 60.
- In the Style options pane, click Done twice.
Your layers are now symbolized to best visualize where the largest contributions came from for each candidate.
Now you have contributions to each candidate mapped so that you can identify where their strongest contributions are located within the City of Albuquerque. Next, you will add demographic information using ArcGIS Living Atlas to better understand the distribution of socioeconomic factors within the city.
Gain insight into voter demographics
In this section, you'll compare the address points that you geocoded with United States Census data from ArcGIS Living Atlas. By combining the locations of these voter addresses with census data, you'll gain insight into the demographic and socioeconomic profile of voters who are currently invested in the campaign and gain insight into areas that may need additional outreach efforts.
Add population density information
The first map you will add contains information about population density. But before continuing, you will save the map.
- On the Contents (dark) toolbar, click Save and open, and choose Save as.
- In the Save map window, enter the following:
- For Title, type Albuquerque Political Contributions, followed by your initials.
- For Tags, type Albuquerque, voter data, and press Enter.
- For Summary, type Political contributions for the 2017 mayoral race in Albuquerque, New Mexico.
- Click Save map.
You will add demographic layers to provide more context for the political contribution data.
- In the Layers pane, click Add layer. In the Add layer pane, search Living Atlas for demographics.
- Locate the layer Popular Demographics in the United States owned by esri_demographics and click the Add button.
- In the Add layer pane, click the back button.
The layer you added from ArcGIS Living Atlas includes several layers of the map at different map extent levels. Since you will be looking at data at a very local level, you will remove the layers that will not be needed for your analysis.
- In the Layers pane, next to the Popular Demographics in the United States group layer, click the arrow to expand the contents of the group layer.
The group layer contains several layers. Some of the layers may appear gray, meaning you cannot view them at a certain scale. Zoom in or out, depending on the later, to view it. You only need the Tract layer, so you will drag it out of the group layer and rename it.
In some circumstances, you may want an even smaller geography than census tract and may find the Block Group more helpful. However, not every layer in ArcGIS Living Atlas has Block Group level data available.
- Drag the Tract layer above the Popular Demographics in the United States group layer.
- For the Popular Demographics in the United States group layer, click Options and click Remove.
Only the Tract layer remains in the Popular Demographics in the United States group layer.
The layer currently includes census tracts from the entire country. You will use Filter to include only data from the state of New Mexico so that when you configure the layer symbology, the range of values is more relevant to the region.
- In the Layers pane, click the Tract layer to select it, and on the Settings (light) toolbar, click Filter.
- In the Filter pane, click Add expression, build the expression STATE_NAME is New Mexico, and click Save.
- On the Layers pane, select the Tract layer and on the Settings toolbar, click Styles.
- Click Field, and in the Add
fields window, search for density and choose 2018 Population Density. Click Add.
The layer updates to show the population density for each census tract.
- In the Layers pane, drag the Popular Demographics layer to the bottom of the layer list.
The contributions layer are now above the Popular Demographics layer, but the blue circles for Democratic Contributions are difficult to see. You will adjust the population density layer's style so the contribution data is more visible.
- In the Styles pane, under Pick a style, for Counts and Amounts (color), click Style options.
- Click the symbol for Symbol style, and in the Symbol style pane, for Color ramps, choose Gray 2.
To see a color ramp name, hover over the color ramp.
- Above the histogram, click the Invert color ramp button.
- On the Settings toolbar, click Properties. Under Appearance, for Blending, choose Multiply, and for Transparency, move the slider to 30%.
Blend modes determine how layers visually interact with each other. Learn how to use blend modes.
The contribution layers are more visible.
- On the Layers pane, point to the Democratic Contributions layer and click the visibility button to turn it off.
Many contributions to Republican candidates come from the more populated eastern part of the city, and there are also large contributions from the less populated northern and western parts of the city. The distribution of Republican contributors is fairly evenly distributed across the entire city.
- Turn off the Republican Contributions layer and turn on the Democratic Contributions layer.
The areas with the most contributions to the Democratic candidate are more concentrated in densely populated areas, notably the southern parts of the city. There is one major area in the north of the city with a large amount of contributions from a less densely populated area.
- Turn off the Democratic Contributions layer and the Popular Demographics layer and save your map.
Now that you have investigated the intersection of political contributions and population density, you will add several more layers available from ArcGIS Living Atlas to better understand the demographics of the city.
Add socioeconomic data
Next, you will add several more layers that show information about race and ethnicity, generation, median household income, and English language ability.
- In the Layers pane, click Add layer. Search Living Atlas for acs race and add the layer ACS Race and Hispanic Origin Variables - Boundaries.
- Click the back arrow to return to the Layers pane, expand the ACS Race and Hispanic Origin Variables - Boundaries group layer, and drag the Tract layer above of the group layer.
- Remove the ACS Race and Hispanic Origin Variables group layer.
- Rename the Tract layer Predominant Race and Ethnicity.
- Drag the Predominant Race and Ethnicity layer above the Population Demographics layer and turn on and off the Democratic Contributions and Republican Contributions layers.
If necessary, you can close the Layers and Styles pane to better view your map.
Contributions to the Republican candidate are largely spread out between areas that are predominantly White and Hispanic/Latino. However, the political contributions for the Democratic candidate are found more in White areas, with two of the five largest contributions in predominantly Hispanic/Latino areas.
Next, you will add a layer to better understand the age of potential voters.
- Turn off the Predominant Race and Ethnicity layer.
- In the Layers pane, click Add layer. Search Living Atlas for generation and add the layer Predominant Generations in the United States in 2018.
- Click the back arrow to return to the Layers pane, expand the Predominant Generations in the United States in 2018 group layer, and drag the Tract layer above the group layer.
- Remove the Predominant Generations in the United States in 2018 group layer and rename the Tract layer Predominant Generations.
The Predominant Generations layer is currently symbolized as the predominant category and size. You will configure the symbology to show the predominant category in each census tract.
- In the Layers pane, ensure the Predominant Generations layer is selected, and on the Settings toolbar, click Styles.
- In the Styles pane, under Pick a style, choose Predominant category.
The default color ramp is bright and will be difficult to view with the contributions layers. You will change the color ramp style so it is more visible.
- For Predominant category, click Style options. In the Style options pane, click the color ramp under Symbol style.
- In the Symbol style window, for Color ramps, choose Rainy Day.
- In the Style options pane, click Done twice.
- If necessary, in the Layers pane, drag the Predominant Generations layer to the bottom of the layer list.
- Turn on and off the Democratic Contributions and Republican Contributions layers and notice any patterns with contributions and predominant generations.
On the Contents toolbar, you can click Legend to view a legend for the generations categories.
Contributions to Democratic candidate came mostly from predominantly Millennial generation (those born from 1980 to 1995) areas, whereas Republican contributions were more diverse, including areas that are more predominantly Baby Boomer (those born from 1945 to 1964). One area in the middle of the city that is more heavily Generation Z (those born after 1997) shows large contributions for both candidates.
- In the Layers pane, turn off the Predominant Generations layer.
Next, you will add your final layer from ArcGIS Living Atlas.
- Use what you have learned to add the final demographics layer to your map:
- Search Living Atlas for English ability and add the layer ACS English Ability and Linguistic Isolation Variables - Boundaries.
- Click the back arrow to return to the Layers pane.
- Drag the Tract layers above the ACS English Ability and Linguistic Isolation Variables group layer.
- Remove the ACS English Ability and Linguistic Isolation Variables group layer.
- Rename the Tract layer Percent 18 and over with limited English ability.
The default symbology for the layer is bright orange, which may make it difficult to see the red circles of the Republican Contributions layer.
- Ensure that the Tract layer is selected, and in the Styles pane, for Counts and Amounts (color), click Style options.
- Click the color ramp under Symbol style, and in the Symbol style window, change the Color ramp to Green 6.
The contributions layers are more visible.
- Turn on and off the Democratic Contributions and Republican Contributions layers and notice any patterns with contributions and linguistic isolation.
Those who contributed to the Democratic candidate are mostly English proficient. Republican candidate contributors are similarly found in English-proficient areas but include more constituents who speak Spanish. Such a gap may be worth further consideration by the Democratic candidate campaign.
- Turn off the ACS English Ability and Linguistic Isolation Variables group layer and save the map.
Your map shows demographic and socioeconomic information about eligible voters and potential donors. Next, you will use the map to better understand where voters may be most affected by an important issue for Albuquerque.
Target your campaign
According to U.S. Census Bureau data, the median household income in Albuquerque is $51,099, over $10,000 less than the national median household income of $63,179 in 2018. Your candidate wants to better support the working-class community. You want to identify areas of the city where there are constituents with lower median household incomes, as well as areas where there is already strong support based on the amount of contributions that have been made. For each of those areas, you will assess the predominant demographics to better target campaign messaging.
Map campaign outreach areas
First, you'll change the symbology for the Population Demographics layer to display income level.
- In the Layers pane, click the visibility button for the Popular Demographics layer.
It is currently styled by population density. You will update it to show median household income.
- On the Settings (light) toolbar, click Styles.
- Click the 2018 Population Density attribute, search for and choose 2018 Median Household Income (Esri) and click Replace.
- Under Pick a style, choose Counts and Amounts (color), and click Style options.
- Click the color ramp under Symbol style, and in the Symbol style window, for Color ramps, choose Blue 10.
The map style updates to show the areas with lower median household incomes in tan and higher household incomes in blue. The histogram indicates that the average value of all the census tracts in the city is $48,752. To make the map more informative relative to the national median household income and poverty line, you'll adjust the class breaks to better understand the median income levels in the city.
- In the Style options pane, on the histogram, drag the top break up to 100,000 and the second break to the national median household income value of 63,179.
To change a break value, you can also click on the break value and type the value you want to adjust it to, and press Enter.
The majority of the city is below the national median household income. There is one wealthy area: Sandia Heights. Since so much of the city is below the national median household income, you will classify the data into more classes and update the class breaks to also reflect areas that are at the poverty line for a family of four, which was $25,100 in 2018.
- Turn on Classify data.
More options for Classify data appear.
- Under Method, set the number of classes to 5.
- In the histogram, set the lowest class break to 25,100. Set the next break to 48,752, which is the average value in this dataset. Set the third break to 63,179, the national median value, and the fourth break to 100,000.
Much of the city is still at the lowest median household income level, but now there are areas where the median household income is not only below the national average but also below the poverty line.
- On the Style options pane, click Done twice.
- In the Layers pane, ensure that the Albuquerque_City_Boundary layer is at the top of the list, followed by Republican Contributions and Democratic Contributions.
- Turn the layers on and off and notice any patterns.
A common pattern is that areas of lower median household income correlate with areas where the community is predominantly Hispanic/Latino, Millennial and Generation Z-a higher percentage of residents who are not yet fluent in English and a younger population with young families. These areas are found primarily in the southern parts of the city.
Next, you will assess where you might host outreach events to communities that may not have been involved before. The impact of lower household income affects areas that are predominantly Hispanic/Latino, so you may consider increasing outreach efforts to that demographic. Those areas also had large numbers of Millennial and Generation Z residents. The Millennials, who are older and more likely to be settled in stable careers, may be most likely able to financially contribute to your campaign.
- Continue exploring the layers and answer the following questions:
- For each of the candidates, which areas might be best to increase campaign efforts, based on existing contributions? What are the predominant demographics for those areas?
- For each of the candidates, what areas have not been reached that fit the socioeconomic and demographic profile relevant to the campaign issue your candidate is passionate about?
Use charts (optional)
In Map Viewer, you can also make charts to visualize your data.
- In the Layers pane, click the Democratic Contributions layer to select it, and on the Settings toolbar, click Configure charts.
- In the Charts pane, click Add chart and choose Bar chart.
- In the Chart pane, click Data.
- In the Data pane, set the following:
- For Category, choose ContributorType.
- For Aggregation, choose Sum.
- For Numeric fields, click Select numeric fields, choose ContributionAmount, and click Done.
The Bar chart pane shows the amount of contributions by ContributorType. For the Democratic candidate, the vast majority of monetary campaign contributions were from individuals rather than businesses.
- In the Data pane, for Split by, choose Occupation.
The chart updates to show the amount contributed by reported occupation.
- Point to the largest bars to see which occupations contributed the most money.
The Democratic candidate received the most contributions from those who were retired, not currently employed, and educators. You'll repeat the process to examine Republican contributions.
- In the Layers pane, click the Republican Contributions layer to select it, and in the Charts pane, click Add chart and choose Bar chart.
- Click Data. In the Data pane, enter the following:
- for Category, choose ContributorType.
- For Aggregation, choose Sum.
- For Numeric fields, click Select numeric fields, choose ContributionAmount, and click Done.
The Republican candidate received a larger sum of contributions overall, and a larger portion of those contributions came from businesses and groups compared to the contributions to the Democratic candidate.
- In the Data pane, for Split by, choose Occupation. Point to the updated bar chart to view the occupation category of the top contributors.
For the Republican candidate, the largest occupation category is Unknown, followed by Business Owner and those who are retired.
- On the Contents toolbar, click Charts.
The Charts pane appears, listing the charts you have configured. You can always revisit this pane to view charts you have created.
Depending on your screen resolution, if Charts is not visible on the Contents toolbar, click More and choose Charts.
- Save your map.
Using charts is an additional tool to visualize and better understand your data and inform your analysis process.
You have completed configuring your web map. It is now ready to share as a story using ArcGIS StoryMaps.
Share your results
Now that you have completed analyzing the campaign contribution data and several relevant demographic and socioeconomic layers, you will create a story to share your findings with stakeholders in your organization. First, you will configure your map so it is clearer before you build your story.
Prepare the web map
You prepare the web map to share in a story by updating the layer names and configuring pop-ups.
- In the Layers pane, for the Albuquerque_City_Boundary layer, click the Options button and choose Rename.
- Type Albuquerque City Limits and click OK.
The layer name updates.
- Rename the Popular Demographics layer Median Household Income.
The layers are now clear and ready for sharing with others.
Next, you will configure the pop-ups.
- In the Layers pane, click Albuquerque City Limits, and on the Settings (light) toolbar, click Configure pop-ups.
- In the Pop-ups pane, turn off Enable pop-ups.
- At the top of the Pop-ups pane, click the drop-down arrow next to Albuquerque City Limits to select a different layer.
- In the drop-down menu, choose Republican Contributions.
In the preview pop-up for the Republican Contributions layer, many fields are listed, but not all the fields are necessary to view.
You will update the pop-up to show only the most relevant information.
- In the Pop-ups pane, expand Title.
- Delete the existing text and click the Add field button. Choose Full_Address.
The pop-up title updates to show the full address of the contributor.
- Click Fields list and click Select fields.
- In the Select fields list, click Select all and click Deselect all so that none of the fields are selected.
- Click ContributionAmount, Occupation, and Political_Affl. Click Done.
Now the pop-up does not show any repetitive information. Some of the field names are not completely clear, so you will update those next.
- On the Settings toolbar, click Configure fields.
- In the Fields pane, click the following fields and make the following changes:
- For ContributionAmount, change the Display name to Contribution Amount, and click Done.
- For Pollitical_Affl, change the Display name to Political Affiliation, and click Done.
The pop-up is ready for the Republican Contributions layer.
- Repeat the same steps to configure the pop-ups for the Democratic Contributions layer.
Now you will review the other layers to see whether additional pop-up configuration is required for the demographic and socioeconomic layers.
- In the Layers pane, click each of the demographic and socioeconomic layers to preview the pop-ups.
Because you added many of these layers from ArcGIS Living Atlas, the pop-ups were already configured clearly. However, the Median Household Income group layer was styled from a layer that had many demographic attributes, so the pop-up has an overwhelming amount of information. You will update the pop-up for this layer.
- If necessary, click the Median Household Income group layer to select it. On the Settings toolbar, click Configure pop-up.
- In the Pop-ups pane, click Fields list and click Select fields. In the Select fields pane, click Select all and click Deselect all so that none of the fields are selected.
- In the search bar, locate and select the following fields:
- 2018 Total Population
- 2018 Household Population
- 2018 Population Density (Pop per Square Mile)
- 2018 Median Household Income
- Click Done.
- on the Settings toolbar, click Configure fields. For each of the fields listed in the pop-up, for the Display name, delete the text 2018 and (Esri).
The configuration for the Median Household Income layer pop-ups is complete.
- Save the map.
You have completed configuring your web map. It is now ready to share as a story.
Create a story
In this section, you will use ArcGIS StoryMaps to design and share the web map you created in an interactive and narrative format that will be accessible to a wide range of audiences.
- On the Contents (dark) toolbar, click Share map. In the Share window, choose Everyone (public) and click Save.
- In the Update sharing window, click Update.
- On the Contents toolbar, click Create app and choose StoryMaps.
Your map appears in ArcGIS StoryMaps.
- Click Title your story and type Albuquerque Political Contributions. For Start with a short introduction or subtitle, type Political contributions for the 2017 City of Albuquerque mayoral campaign.
Your goal is to create an interactive map to share with your stakeholders. The map that was automatically added is not the best format to display all the information you want to share. Instead of the map, you will use a sidecar.
A sidecar is an immersive content block with a side-by-side reading experienced composed of a media panel where you can embed an image, a map, or even a video, and a scrolling narrative panel that can include text, images, maps, audio files, and videos.
- Point to the map and on the toolbar that appears, click the Delete button. In the confirmation window, click Yes, delete.
- Click the Add content block button and choose Sidecar.
- In the Change layout window, choose Docked panel and click Done.
A blank sidecar is added to your story.
- In the map panel, click Add media and click Add map.
- In the map browser, choose your Albuquerque Political Contributions map.
- In the side panel, click the visibility buttons so the only layers that are visible are Albuquerque City Limits, Democratic Contributions, and Republican Contributions.
- Click the Options button and under Map configuration pane, turn on Legend and Keep legend on.
This allows the legend to remain visible as the viewers navigates through the sidecar.
- Zoom and pan the map so the contribution data is centered and click Place map.
- In the sidecar media panel, click Continue your story and type Political Contributions.
- Highlight the text, and on the text toolbar that appears, click Paragraph and choose Heading.
The title for this sidecar slide is now more visible and stands out.
- Click below the heading text and copy and paste the following text:
These maps show where monetary political contributions were made for the 2017 mayoral campaign in Albuquerque, New Mexico.
You have added your map and text to your first sidecar slide. Next you will add map action buttons and additional slides in your side car.
Add map action buttons and sidecar slides
Next, you will add map actions, which are configurable switches that invite readers to see different views of the web map in the sidecar slide's media panel. Map actions will make your story more interactive and allow readers to easily view different layers in your web map.
- Point below the text content blocks, click the Add content block button, and choose Map action.
- Click the map action and type Democratic Contributions.
- Add a second map action and type Republican Contributions.
- Point to the Democratic Contributions map action and click Edit.
The map designer appears, which allows you to set which layers will be visible when users click on the map action.
- In the side panel, click the visibility button for Republican Contributions.
The only layers that should be visible are Albuquerque City Limits and Democratic Contributions.
- Click Save action.
- Point to the Republican Contributions action button, click Edit, update the layer visibility so the Albuquerque City Limits and Republican Contributions layers are the only layers visible, and click Save action.
- Test your action buttons by clicking each of them to observe the changes to the map panel. Click each map action again to deactivate it.
It can be helpful to provide instructional text in your story, so you will add an additional line of text above the map actions so that users know they can change the map view by clicking the map actions.
- Point above the Democratic Contributions action button, click the Add content block button, and choose Text. Type Click the buttons below to view contributions by political party.
Your first sidecar slide is complete. You will duplicate the slide and adjust the map layer visibility to show another layer to compare with the contribution data.
- In the sidecar pane, for the first slide, click the More options button and click Duplicate.
A new slide with the same text and map action buttons is added to your sidecar.
- In the media pane, change the heading text to Race and ethnicity, and change the sentence below it to:
This map shows the predominant racial and ethnic population group in each census tract.
- Point to the top of the map and click the Edit button.
- In the Adjust map appearance window, click the visibility button for Predominant Race and Ethnicity.
The map shows the Predominant Race and Ethnicity layer.
- Click Place map.
- For each of the map action buttons, click Edit. In the Configure map action window, click the visibility button for Predominant Race and Ethnicity and click Save action.
You have created your second sidecar slide.
Next, you will add the remaining slides to complete the story.
Add remaining slides
Next, you will duplicate your slides and adjust the text and map layer visibility for the remaining slides in your sidecar.
- In the sidecar panel, for the second slide, click the More actions button and click Duplicate.
- Update the third slide as follows:
- For the heading, change the text to Generation.
- Remove the existing sentences below the heading and type the following text: The map shows the predominant generation of residents in each census tract.
- Update the map to show the Predominant Generations layer and turn off the Predominant Race and Ethnicity layer.
- Update the map actions to show the Predominant Generations layer and turn off the Predominant Race and Ethnicity layer.
The third slide is complete.
- In the sidecar panel, for the third slide, click the More actions button and click Duplicate.
- Update the fourth slide as follows:
- For the heading, change the text to English Ability.
- Replace the sentence below the heading with the following text: This map shows the percent of residents over the age of 18 who are limited in English ability.
- Update the map to show the Percent 18 and over with limited English ability layer and turn off the Predominant Generations layer.
- Update the map action buttons to show the Percent 18 and over with limited English ability layer and turn off the Predominant Generations layer.
The fourth slide is complete.
- In the sidecar panel, for the fourth slide, click the More actions button and click Duplicate.
- Update the fifth slide as follows:
- For the heading, change the text to Median Household Income.
- Replace the sentence below the heading with the following text: This map shows the median household income of each census tract.
- Update the map to show the Median Household Income layer and turn off the layer Percent 18 and over with limited English ability layer.
- Update the map action buttons to show the Median Household Income layer and turn off the layer Percent 18 and over with limited English ability layer.
You have completed configuring the sidecar.
Before you share your story, there are a few additional design configurations you can set to change the overall tone and design of the story.
- On the ribbon, click Design.
- In the Design panel, under Optional story sections, turn on Navigation.
The text in your sidecar that was formatted as Heading is now a group of links in the navigation bar. Users can click a link in the navigation bar to view the slide in your sidecar containing the corresponding text formatted as Heading.
- Under Theme, click Tidal.
The story updates to a navy blue theme, which fits the topic of the story well.
Publish and share the story
Your story is ready to publish and share with stakeholders.
- On the ribbon, click Preview to review your story.
In the preview mode, you can review and test your story by clicking the navigation bar links, test the map action buttons, click the legend button on the maps, and click the map features to view pop-ups.
- When you are done reviewing, at the bottom of the preview window, click the Close preview button.
- On the ribbon, click Publish.
- On the Publish story pane, choose Everyone (Public) and click Publish.
In this lesson, you created a map that shows the campaign contributions for the mayoral candidate of the Democratic and Republican political parties. You added informative demographic and socioeconomic data using ArcGIS Living Atlas of the World to better inform your campaign outreach plans. You prepared and designed a story using ArcGIS StoryMaps to create an interactive tool for stakeholders to explore and understand the information you uncovered.
You can find more tutorials in the tutorial gallery.