Create a map

Add a data layer to a new map and start visualizing patterns

First, you will download a .csv file that contains general information about public high schools in Detroit, Michigan.

  1. Download the DetroitSchoolCharacteristics .csv file to your computer and open it in Microsoft Excel or another spreadsheet program like Google Sheets.

    DetroitSchoolCharacteristics.csv file opened in Excel

    You see a table with columns of longitude, latitude, school name, total students eligible for free and reduced meal plans, and race and ethnicity data. This data comes from the National Center for Education Statistics' (NCES) Education Demographic and Geographic Estimate (EDGE) program.

    It's hard to visualize where these schools are located or any patterns in the information from the table alone. Making a map is a better way to understand your data than viewing it as a table, so that's your next task.

    Note:

    The Public School Characteristics - Current layer includes data for the entire United States.

  2. Close the .csv file.

    Layers are the way geographic data is organized and combined to create maps. For example, a map may consist of a roads layer, a lakes layer, and buildings layer. These layers are also the basis for geographic analysis to aid in decision making. You will create a map layer by adding your .csv file to an empty map.

  3. Sign in to your ArcGIS organizational account or into ArcGIS Enterprise using a named user account.
    Note:

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

  4. On the ribbon, click the Map tab.
    Note:

    Depending on your organizational and user settings, you may have opened Map Viewer Classic. ArcGIS Online offers two map viewers for viewing, using, and creating maps. For more information on the map viewers available and which to use, please see this FAQ.

    This tutorial uses Map Viewer.

  5. In Map Viewer, in the Layers pane, click the arrow next to the Add button and click Add layer from file.

    Add layer from file

    Note:

    If you are using an ArcGIS Enterprise account, click Add layer instead. Click My Content and choose ArcGIS Online.

    The Add Layer window appears.

    Add Layer window

  6. Drag the DetroitSchoolCharacteristics.csv file to the Add Layer window.
    Tip:

    Alternatively, click Your device and browse to the .csv file.

  7. For How would you like to add this file, choose Create a hosted feature layer and add it to the map. Click Next.

    A list of fields appears. Map layers consist of spatial and tabular information. The table will contain the same columns—also called fields or attributes—as the .csv file. On this page, you can choose which fields from the .csv file you want to include, provide display names, and data type information.

    The software automatically detected the fields and produced default display name and data types. This page is an opportunity for you to review that the automatic assignments are accurate.

    Fields list

    In this example, you will choose to include all the fields, so you won't adjust the check boxes.

    Display name sets a nickname or shortened name of the field name that is more readily understandable to others. Field names cannot have spaces and numbers, so sometimes you may want the display name to include such characters. Setting Display name allows you to view the name of the field in a different way without changing the main Field name text.

    Type describes the type of data you will store in the field:

    • Date—Date and time.
    • Double—Numbers with decimal places.
    • Integer—Whole numbers from -2,147,483,648 to 2,147,483,647 (long integer).
    • String—Any sequence of characters. The default length is 256 characters.

    You will accept all the default settings and continue.

  8. Click Next.

    The Location settings page appears. Spatial information for the layer will be derived from the Latitude and Longitude columns in the .csv file.

    Note:

    If your table contains the names or addresses of locations instead of latitude and longitude fields, try this tutorial about geocoding data: Convert a list of historic places into a map.

  9. Click Next.
  10. For Title, type Detroit high schools.
  11. Click Create and add to map.

    The new layer appears on the map

    Data visualized on the map

    The map displays the locations of the schools listed in the .csv file. Each school is considered a feature in the layer. You also have access to the descriptive information, or attributes of the data, by viewing pop-ups for features on the map.

  12. On the map, click any circle.

    A pop-up window appears with information about the school from the layer's table.

    Pop-up with information for a high school

  13. Close the pop-up.

    Before you continue, you will save the map.

  14. In the Contents pane, click Save and open and click Save as.

    Save as on the Save and open options

  15. In the Save map window, enter the following:
    • For Title, type Public high schools in Detroit, and add your name or initials.
    • For Summary, type Map of public high schools and study body race and ethnicity data in Detroit, Michigan..
    Note:

    You cannot create two layers in an ArcGIS organization with the same name. Adding your initials to a layer name ensures that other people in your organization can also complete this tutorial. Once a layer has been created, you can rename it in the map to remove your initials, which will not affect the name of the underlying data layer.

    Parameters entered in the Save map window

  16. Click Save.

Change the basemap and layer style

Maps in ArcGIS Online consist of layers. You added the Detroit high schools layer, but the map also has a basemap layer by default. Next, you'll change the basemap layer and the style of the feature layer.

  1. On the Contents (dark) toolbar, click Basemap.

    Basemap pane

    The Basemap pane appears. The Topographic basemap is selected. This basemap looks good but is better suited for a reference map. You'll choose a more minimally designed basemap so it does not distract from the school data.

  2. In the Basemap pane, click Light Gray Canvas.
    Note:

    You may see different basemaps depending on the configuration of your organization. If the Light Gray Canvas basemap is not available, skip to the next step without changing the basemap.

    Map with the Light Gray Canvas basemap

    Next, you'll configure the high school layer's symbols so they are sized based on the number of students at each school eligible for free and reduced meal plan programs.

  3. On the Settings (light) toolbar, click Styles.

    Styles pane

    Note:

    If the Settings toolbar is unavailable, on the Contents toolbar, click Layers. In the Layers pane, click Detroit high schools to select the layer.

    The Styles pane appears. Currently, the style is based on the data's location only. You'll configure the symbols to convey both location and one of the data's attributes.

  4. In the Styles pane, click the Field button.

    Field button on the Styles pane

    You will choose to style the map by the number of students at each high school who are eligible for free and reduced price meal (FRPM). Eligibility for FRPM is set by 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 percent of students eligible for FRPM is often used as an equity indicator to understand the needs of school-aged children.

  5. On the Select fields menu, choose Total of free lunch and reduced-price lunch eligible and click Add.

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

    The options under Pick a style update to reflect choices that are suitable for the Total of free lunch and reduced price lunch eligible field. Counts and Amounts (size) is selected and the map updates to reflect this style. This style reveals some new patterns in the data. The larger the circle, the more students eligible for FRPM at the school.

  6. On the Counts and Amounts (Size) card, click Style options.

    Style options button under Pick a style on the Styles pane

  7. In the Counts and Amounts (size) pane, for Symbol style, click the current symbol.

    Symbol under Symbol style on the Styles pane

    The Symbol style window appears. You'll adjust the symbol's properties so circles can be seen even when they are overlapping.

  8. Set Fill transparency to 25. Set Outline transparency to 0.

    Fill transparency and Outline transparency setting in the Symbol style window

    The symbols on the map update. It is now easier to see overlapping circles.

    Map with overlapping symbols

  9. In the Symbol style window, for Fill color, click the current color. In the Select color window, for Hex, type 0070FF and press Enter.

    Style set to blue color

    The color of the map symbols changes to blue.

  10. Click Done in the Select color window, the Counts and Amounts (size) pane, and the Styles pane.

    Symbols styled to blue color

    The map shows the number of students at each high school who are eligible for FRPM programs. The schools with more students who are eligible for FRPM programs are represented by larger circles. Schools represented with smaller circles have fewer students who are eligible for FRPM programs.

  11. On the Contents pane, click Save and open and click Save to save your map.

Style the layer in another way

Your goal is to identify which schools would most benefit from more after-school programs. You have styled the school data by the number of students eligible for FRPM. But there are other aspects of equity that are also important to consider. Due to historic and present-day practices, race and ethnicity can play a critical role in how many resources and opportunities students have at their schools. Practices like segregation in schools and neighborhoods have widened inequities in resource allocation to schools in predominantly communities of color.

Next, you will style the schools to show the race and ethnicity of the student body. First, you will rename the layer you had previously styled to show FRPM eligibility.

  1. In the Layers pane, for the Detroit high schools layer, click the Options button and click Rename.
  2. For Title, type Students FRPM eligible and click OK.

    Next, you will make a copy of the layer.

  3. For the Students FRPM eligible layer, click the Options button and click Duplicate.
  4. Use what you have learned to rename the copied layer to be Race and ethnicity data.
  5. Click the layer visibility button for the Students FRPM eligible layer.

    Layer visibility button for the Students FRPM eligible layer

    Next, you will style the Race and ethnicity data layer with race and ethnicity attributes.

  6. Ensure that the Race and ethnicity data layer is selected in the Layers pane, and in the Style pane, remove the Total FRPM eligible attribute.

    Remove field in the Styles pane

  7. Click the Field button.
  8. In the Add fields window, check the following fields:
    • All students - American Indian/Alaska Native
    • All students - Asian
    • All Students - Black or African American
    • All Students - Native Hawai'ian or Other Pacific Islander
    • All Students - Hispanic
    • All Students - Two or More Races
    • All Students - White

    Race and ethnicity fields in the Add fields window

  9. Click Add.
  10. Under Pick a style, click the Charts and Size style.

    Charts and Size style on the Styles pane

    The layer style updates.

    The Race and ethnicity data layer styled to the Charts and Size on the map

    The map now shows pie charts of the student body's race and ethnicity categories. The sizes of the pie charts represent the number of students at the schools.

  11. Save the map.

Configure pop-ups and view a table

The pop-up that you viewed earlier displayed all the attributes for the features, which may be unnecessary for your map. You can configure pop-ups to only show those attributes that are important to your map. In this example, you only want to show the name of the school and the number of students eligible for FRPM programs.

  1. In the Layers pane, ensure that the Race and ethnicity data layer is selected.
  2. On the Settings toolbar, click Pop-ups.

    The Pop-ups pane appears and a sample pop-up appears on the map. The pop-up's title contains the name of the layer and the name of the school. This title is unnecessary for your map, so you'll remove it.

  3. In the Pop-ups pane, click Title. Erase the text in the box.

    Blank Title field in the Pop-ups pane

    The title text disappears from the sample pop-up. You'll replace the list of fields with a sentence that includes the relevant information.

  4. Next to Fields list, click the Options button. Click Delete.

    Options and Delete buttons

  5. Click Add content and click Text.
  6. In the text editing window, type {. On the menu that appears, click School name.

    Bracket and Name field

    The School_name field was one of the fields in the .csv file you used to create the feature layer. By setting the dynamic text to this field, the pop-up that displays for each school point will display the corresponding School_name field.

  7. After {School_name}, type enrolled {Total_elementary_secondary_stud} students during the 2019-2020 school year.

    You can add fields by typing their names inside of curly brackets or by choosing them from the list that appears when you type a curly bracket.

  8. Press Enter two times to start a new paragraph and type {Total_of_free_lunch_and_reduced} of those students were eligible for the free and reduced meal plan program.
  9. Use the Bold button on the toolbar to add bold formatting to {School_name}, { Total_elementary_secondary_stud}, and {Total_of_free_lunch_and_reduced} .

    Bold button

  10. Click OK.

    The preview pop-up replaces the field names with the attribute values of one of the features.

    Final pop-up

    All the fields still exist in the data table, but they don't display in the pop-up. You can modify the contents of the pop-up at any time. You can still see all the attributes by showing the table.

  11. In the Layers pane, next to Students FRPM eligible, click the Options button. Click Show table.

    Options and Show table buttons

    The layer's table appears below the map.

  12. Review the data in the table. Close the table when you are finished.
  13. Use what you have learned to create the same pop-up for the Students FRPM eligible layer.
  14. Close the Pop-ups pane.
  15. Save the map.

Update the item details

Your map now tells a story about the locations and some socioeconomic attributes of public high schools. For example, the school with the largest number of students eligible for FRPM programs is Cass Technical School in east Detroit. Many of the schools have a high percentage of students who identify as Black or African American. In southwest Detroit, there are more schools with higher percentages of Hispanic or Latino students.

By saving your map, you also created a corresponding item page that contains information, actions, options, and settings for the map.

  1. On the Contents toolbar, click Map properties. In the Map Properties pane, click Item details.

    Item details link in the Map Properties pane

    Your map's item page opens in a new window. The item details are missing important attribution and descriptive information that you will fill in before you share the map. For example, you must give credit to the data providers.

  2. Scroll to the bottom of the page. Next to Credits (Attribution), click Edit.
  3. Type National Center for Education Statistics' (NCES) Education Demographic and Geographic Estimates (EDGE)). Click Save.
  4. Close the item page.

Share the map

Next, you want to share the map so that others can see what you've done so far and provide feedback on what to explore next.

There are many ways to share a map. You could embed the map in a website, create an interactive web app using ArcGIS Instant Apps, or create a story using ArcGIS StoryMaps with additional text, videos, images, and web pages to enhance the story behind your map and data.

The fastest way to share a map is to share it with everyone and send an email that includes a link to your map.

  1. In Map Viewer, on the Contents toolbar, click Share map.
  2. In the Share window, choose Everyone (public) and click Save.

    Share window

    The Update sharing window appears. You must set the sharing level for the layer as well as the map.

  3. In the Review for sharing window, click Update sharing.
  4. Copy the link to the map so you can paste it into an email to share with others.

You have created a web map with a .csv file of school location and demographic data. Now that you have the data mapped, you have more ideas for how to share and explore potential after-school program needs in your city. What's next?

You can create a web app to display your map data in an interactive way so viewers can explore the data without editing the map. There are many ways you can use your web map to visualize data, understand problems, determine informed solutions, and discover what else is possible.

You can find more tutorials in the tutorial gallery.