Create an after-school program needs map

To begin mapping, you'll design and visualize data layers in a new web map using Map Viewer.

To share your map, you will create a web app using ArcGIS Instant Apps so your audience can view and interact with the map, without needing experience with all the tools in Map Viewer. Map-based apps provide a simplified interface that allows you to share a story or message in a focused way and allows others to explore the map with a specific purpose in mind

Note:

See a preview of the Afterschool Program Opportunities App you will create.

Because your goal is to share these layers in a swipe app, you'll ensure they're visually compatible to be viewed on a single map.

Add educational data

You'll start by adding data for where public schools are located, historic redlining data, and American Community Survey data for educational attainment. Education attainment refers to the highest level of education a person has completed. This data can be found in ArcGIS Living Atlas of the World.

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

    If you don't have an organizational account, see options for software access.

  2. On the ribbon, click the Map tab.

    A new map appears in Map Viewer with the Layers pane open.

    New map appears in Map Viewer.

    This tutorial uses Map Viewer.

  3. In the Layers pane, click Add.
  4. In the Add layer pane, click My content and select Living Atlas.

    Search Living Atlas in the Add layer pane.

  5. In the search bar, type public schools and press Enter. In the list of results, locate the Public School Characteristics - Current layer and click the Add button.

    Search Living Atlas for public schools and the Add button for the Public School Characteristics - Current layer

    Next, you will search for and add data on educational attainment.

  6. In the search bar, type ACS Educational and press Enter. Find the ACS Educational Attainment Variables - Boundaries layer owned by Esri and click the Add button.

    Add button for ACS layer

  7. Click the Back button to return to the Layers pane.

    Back button

    In the Layers pane, the ACS Educational Attainment Variables - Boundaries layer is added to the Layers pane as a group layer that contains three layers: State, County, and Tract.

    The U.S. Census Bureau reports data by various political and statistical geographic units. The entire country contains states, states contain counties, counties contain tracts. Census tracts are statistical subdivisions of a county that aim to represent about 4,000 people who live in them.

    Note:

    To learn more about U.S. Census Bureau geographic units, see United States Census Geography.

    Each of these layers shows the data generalized to a different extent. You'll remove the State layer because it won't be needed for your analysis.

  8. Expand the ACS Educational Attainment Variables - Boundaries group layer.

    Expand arrow for the ACS Educational Attainment Variables - Boundaries group layer

  9. For the ACS Educational Attainment Variables - Boundaries group layer, click the Options button for the State layer, and click Remove.
    Remove option for State layer
  10. In the same way, remove the County layer.

    Now none of the educational attainment layers are visible in the map. You'll adjust the settings for the Tract layer so it appears in the map.

  11. In the Layers pane, select the Tract layer.

    Tract layer selected in the Layers pane

  12. In the Properties pane that appears, modify the Visible range setting to span the full distance between World and Room.

    Updated Visible range setting

    By adjusting the Visible range to World and Room, the Tract layer is now visible at every zoom level on the map. The Tract layer appears in the map.

You have added all the data layers you will need to create a map to determine where is the best area in the city to establish more after-school programs. Next, you will search for and add the historic Home Owners' Loan Corporation grades.

Add historic redlining data

After the Great Depression, the Home Owners' Loan Corporation (HOLC) program was created to provide loans for people to buy homes. HOLC hired real estate assessors to create color-coded maps that assigned grades to neighborhoods that would help banks decide how risky an investment would be in certain areas.

Due to racial prejudice, the grades were assigned largely based on racial bias, with areas with more White residents receiving higher grades and areas where people of color and immigrants lived receiving the worst grades.

Although the HOLC program ended in 1936, the grading system continued to be used, creating decades of segregation and areas that did not receive investments particularly in communities of color. Many of these effects are still felt in these communities today.

Note:

To learn more about the history and current-day impacts of redlining, see the story The lines that shape our cities.

  1. In the Layers pane, click the Add button. In the Add layer pane, click My content and choose Living Atlas.
  2. In the search bar, type redlining and press Enter. Locate the Mapping Inequality Redlining Areas layer owned by Esri and click the Add button.

    The Add button for the Mapping Inequality Redlining Areas layer

    The Mapping Inequality Redlining Areas layer is added to the map.

  3. At the top of the Add layer pane, click the back button to return to the Layers pane.

    Next, you will zoom in to Detroit, Michigan, so you can better view the redlining data.

  4. On the map, click the Search tool.

    Search tool on the map

  5. In the search bar, type Detroit, MI and press Enter.

    The map centers on Detroit, Michigan.

  6. Close the Search result pop-up.
  7. In the Layers pane, click the visibility button for the ACS Educational Attainment Variables - Boundaries group layer and the Public School Characteristics - Current layer.

    Visibility button turned off for the ACS Educational Attainment Variables - Boundaries group layer and the Public School Characteristics - Current layer

    Now, only the Mapping Inequality Redlining Areas layer is visible on the map.

    Redlining grade data for the city of Detroit

    The best grade an area could receive was an A and was marked on the map in green. Due to prejudice and racism, assessors often determined that areas inhabited by wealthy White people were deemed the best. In contrast, the worst grade, D or hazardous, was given to areas that were mostly home to foreign-born, lower class, communities of color. Grade D neighborhoods were identified by red lines on the map, which is where the term redlining comes from.

    Next, you will edit the label and hide the areas that don't have a grade for the Mapping Inequality Redlining Areas layer. This will help focus the layer on the information that is most important for your map.

  8. In the Layers pane, ensure that the Mapping Inequality Redlining Areas layer is selected.

    The Mapping Inequality Redlining Areas layer selected in the Layers pane

    The layer is selected when the blue line appears next to the layer name.

  9. On the Settings (light) toolbar, click Labels.

    Labels on the Settings toolbar

  10. In the Label features pane, turn off Enable labels.

    Enable labels turned off in the Label features pane

    ext, you will hide the style for the areas that did not receive a redlining grade.

  11. On the Settings toolbar, click Styles.
  12. Under Pick a style, for the Types (unique symbols) style, click Style options.

    Style options button for the Types (unique symbols) style

  13. In the Style options pane, uncheck Other.

    Other unchecked in the Style options pane

    The layer is now clear of extra information. It is helpful to minimize what data is displayed in a layer to help your viewers focus on the information that is most key to understanding your map.

    The Mapping Inequality Redlining Areas layer styled

    You have added all the data you need for your swipe app. Before you continue editing your web map, you will save the map.

  14. On the Contents (dark) toolbar, click Save and open and click Save as.

    Save and open menu

  15. In the Save map window, provide the following information:
    • For Title, type Afterschool Program Opportunities and add your name or initials.
    • For Tags, type education, afterschool, equity, pressing Enter after each tag.
    • For Summary, type A map showing educational attainment and equity indicators to determine areas that would most benefit from more afterschool programs.

    Save map window

  16. Click Save.

Style the layers

Next, you will style the layers to show the data that will help you determine the areas that would most benefit from new after-school programs. First, you will turn on all the layers you want to be visible in your web app.

  1. In the Layers pane, click the visibility button for the Public School Characteristics - Current layer and the ACS Educational Attainment Variables - Boundaries group layer.

    Next, you will adjust the layer order so that the public schools are visible on top of the other two layers.

  2. In the Layers pane, drag the Public School Characteristics - Current layer above the ACS Educational Attainment Variables - Boundaries group layer.

    Drag Public School Characteristics - Current layer above the ACS Educational Attainment Variables - Boundaries group layer

    The Public School Characteristics - Current layer is now visible above the other layers.

    Public School Characteristics - Current layer visible above the other layers on the map

    Next, you will filter the layer to only show the high schools in Detroit.

  3. In the Layers pane, for the Public School Characteristics - Current layer, click the Options button and click Show table.

    Show table in the Options menu for the Public School Characteristics - Current layer

    The table for the Public School Characteristics - Current layer appears.

    You want to create a filter that will only show high schools in the city of Detroit, so you will look for the field names that contain data on school level— such as high, middle, and elementary—and the city in which the schools are located.

  4. In the table, scroll and locate the field names Location city and School level.

    School level field name in the table for the Public School Characteristics - Current layer

    These fields contain the data you will need to create a filter.

  5. In the Layers pane, ensure the Public School Characteristics - Current layer is selected. On the Settings (light) toolbar, click Filter.

    Filter on the Settings toolbar

  6. On the Settings toolbar, click Filter. In the Filter pane, click the Add expression button.

    First, you will choose a field you want to filter by.

  7. Click the field drop-down menu, and in the Replace field window, search level and choose School level.

    School level in the Replace field window

    Next, you will choose the value of School level. You only want the layer to show high schools, so you will choose the field value High.

  8. In the attribute drop-down menu, choose High. Click Save.

    Expression configured for School level is High

  9. Click Add expression. For the attribute, choose Location city.
  10. For the value, type Detroit and click Save.

    Detroit entered for the value and the Save button in the Filter pane

    You have created a filter that tells the Public School Characteristics - Current layer to only show records that have the value High for School level and the value Detroit for Location city.

    Next, you will style the layer to show the number of students eligible for free and reduced price meal (FRPM).

    Eligibility for FRPM is set by the U.S. Department of Agriculture Child Nutrition Programs and is based on federal poverty guidelines issued by the Department of Health and Human Services. The number or percentage of students eligible for FRPM is often used as an equity indicator to understand the needs of school-aged children.

  11. In the Layers pane, ensure the Public Schools Characteristics - Current layer is selected, and on the Settings toolbar, click the Styles pane. In the Styles pane, click the Field button.
  12. In the Add fields window, search lunch and in the list of results, click Total of free lunch and reduced-price lunch eligible and click the Add button.

    Total of free lunch and reduced-price lunch eligible field in the Add fields window

  13. Under Pick a style, for Counts and Amounts (size), click the Style options button.
  14. In the Style options pane, click the symbol under Symbol style. In the Symbol style window, enter the following:
    • For Fill color, choose white.
    • For Fill transparency, type 50.
    • For Outline color, choose black.
    • For Outline transparency, set it to 0.

    Symbol style configured for the public schools layer

  15. In the Style options pane, click Done twice.

    The Public Schools Characteristics - Current layer is styled so the larger circles represent a higher number of students who are eligible for free and reduced meal plan programs.

    Public school layer styled

    Next, you will style the Educational Attainment layer.

  16. In the Layers pane, if necessary, expand the ACS Educational Attainment Variables - Boundaries group layer and ensure the Tract layer is selected. On the Settings toolbar, click Styles.

    The drawing style for this layer is set to Counts and Amounts (color) based on the attribute Percent of Population 25 Years and Over whose Highest Education Completed is Less Than High School. This is the attribute you want to use to style the layer, so you don't need to change the attribute setting.

  17. In the Styles pane, under Pick a style, for Counts and Amounts (color), click Style options.

    Style options button for the Counts and Amounts (color) style

  18. In the Style options pane, click the Symbol style button.

    Symbol style in the Styles pane

    The Symbol style window appears.

  19. In the Ramp window, click the Purple 2 color ramp.
    Tip:

    Point to a color ramp to see its name.

    Purple 2 color ramp in the Ramp window

  20. In the Style options pane, click Done. In the Styles pane, click Done again.
  21. On the Contents toolbar, click Save and open and click Save to save your map.

    Your map is now finished.

    Map completed

    It contains the data you want to show, but it's difficult to do a quick visual comparison while turning each layer on and off. To better compare the data, you'll publish an app with a swipe tool. By dragging the swipe tool across the map, you can show and hide each layer for comparison. Although the redlining layer is not visible, you want to have both the educational attainment and redlining layer visible because you will make a swipe app. When you create a web app with Instant Apps using this web map, you will have the option to make both layers visible with the swipe tool.

Next, you'll create a web app using Instant Apps to compare the two layers.


Create a swipe app

Now that your map is complete, you'll configure an app with a slider bar to compare patterns in both layers. With ArcGIS Instant Apps, you can share your map as an app. You'll start with the Media Map template and configure the app to compare the two layers and show the map legend.

Create an app to compare two layers

First, you'll share your completed map as an app. The Instant Apps templates allow you to share your map in a simplified view with only the tools that you want people using your map to see. Unlike in Map Viewer, you can show or hide elements such as the legend, measure tool, search bar, and other functionality. Then, you'll configure the swipe option to show both of your data layers.

  1. On the Contents (dark) toolbar, click Create app and click Instant Apps.

    Instant Apps selected in the Create app menu

    The Instant Apps gallery page opens in a new tab. You'll use the Media Map template, which includes a swipe tool. (You can search app capabilities to filter the gallery for applicable templates.)

  2. On the Media Map card, click Choose.

    Choose button on the Media Map card

  3. In the Create App window, for the app title, type Afterschool Program Opportunities App.
  4. Add appropriate tags and click Create App.

    The Media Map configuration window appears. By default, you see the express setup steps. The express setup contains many of the basic app configuration options. You want to add a swipe tool, so you'll search the settings to find where to configure it.

  5. In the configuration panel, click Search settings, type swipe, and click Swipe tool in the list of suggestions.

    Search settings with Swipe tool selected in suggestions list

  6. When prompted to turn off express mode, click Continue.

    The configuration panel updates to include all settings available for the app. The Interactivity settings panel appears, displaying the Modify section with a blue box on the Swipe tool setting.

  7. Turn on Swipe tool.

    Additional options appear and the app preview updates with a slider bar. You'll choose the layers to show on either side of the slider bar.

  8. For Select leading layers, expand ACS Educational Attainment Variables and check the box for Tract. For Select trailing layers, check the box for the Home Owners' Loan Corporation layer.

    Swipe tool settings for leading and trailing layers

    The app preview now shows the Educational Attainment layer on one side and the Mapping Inequality Redlining Areas layer on the other side.

  9. In the app preview, drag the swipe tool to compare the two layers.

    Map with the swipe tool for comparing two layers

    Now you'll add contextual information.

  10. In the configuration panel, click About and click Location details.

    Location details in the About pane

  11. In the Location details pane, verify that the Legend setting is turned on and that it appears in the app preview. Set Legend style to Classic.

    Legend style setting set to Classic

  12. If necessary, click the Open legend tool in the app preview to show the legend.

    Legend opened in the app

    The legend shows the three layers on your map, the Public Schools layer, the Tract layer, and the Mapping Inequality Redlining Areas layer.

  13. Test the swipe tool, and click several counties to explore the app.

    When you're satisfied with your app configuration, you can publish it.

  14. Click Publish. In the Publish window, click Confirm.

    A success message appears when publishing is completed and the Draft badge changes to a Published badge. The Share window appears, which includes a link to the app, buttons to share through social media, code to embed the app in a website, and the date and time the app was last published. You can also change the sharing level for your app, such as to share it with the public.

  15. In the Share window, click Launch to test your app in a new window.

Use your swipe app to answer questions

Now that your app is finished, you'll use it to answer questions.

  1. Using the swipe tool on the app, explore the map and answer the following questions:
    • What do you notice about the areas with a high percentage of adults without a high school diploma and areas that were graded D for hazardous?
    • What do you notice about areas with a low percentage of adults without a high school diploma and areas that were graded A for best?
    • What do you notice about areas where the schools have a large number of students who were eligible for free and reduced meal plan programs and the historic redlining grades?
    • Based on your answers, which areas would benefit the most from more after-school mentoring programs to help boost high school graduation rates and serve communities that are historically underserved?

In this tutorial, you created a map showing public high schools by the number of students eligible for free and reduced meal plans, educational attainment, and historic redlining data. You then created a swipe app to compare the relationship between the layers and better visualize which areas would benefit the most from more after-school mentorship programs. Consider creating another version of this web app for another city or area in the country.

You can find more tutorials in the tutorial gallery.