Map Viewer allows you to explore your data in different ways through a variety of smart mapping styles. When you use Change Style in Map Viewer, the nature of your data determines the styling suggestions you see by default. Once you have decided how you want to present your layer, you can make changes to its appearance that are immediately reflected on the map. Map Viewer gives you control over styling elements such as color ramps, line weights, transparency, and symbols.
Sometimes you want to see how your data is distributed by category. Use the Types (Unique Symbols) style or the Types & Size style to do this.
Types (Unique symbols)
Use unique symbols to show different types of things (categorical data), not counts or numeric measurements. For example, you can use different colors to represent different rail lines in the city.
There is an absolute limit of 200 unique values, although only 10 colors are used, so the same color may represent multiple categories. This means that unique symbols works best with 2 to 10 categories of things—for example, restaurant types, tree species, and political parties.
To style your data by type using unique symbols, do the following:
- Follow the first four steps in the change style workflow.
- Choose an attribute to show.
- Click the Types (Unique symbols) style and click Options.
- Do any of the following:
- To change all the map symbols at once, click Symbols. For more information, see Change symbols.
- To customize any of the categories individually, click the colored symbol beside each category in the list. Depending on whether your data is points, lines, or areas, you will see appropriate styling options for each kind of symbol. For example, if your data is points, you can change the shape, fill color, stroke, and size of the point symbol.
- To reorder the categories, drag a category up or down in the list.
- Ideally, your layer should show fewer than 10 categories; more than 10 are difficult to distinguish by color alone. If you have more than 10 categories in your data, the 10 with the highest counts are shown, and those remaining are automatically grouped into the Others category. If the counts of your features can't be determined, the first 9 categories alphabetically are listed individually, and the rest are grouped in the Others category. To ungroup these observations one at a time, drag them out of the Others list and into the main list or click Move value out . To ungroup all of these observations at the same time, click Ungroup . To hide features in Others, uncheck the box. To show them, keep the box checked.
- To calculate and set the optimal visible range, click Suggest next to the Visible Range slider. You can also manually set the visible range by moving the slider.
- To change the transparency for the overall layer, move the Transparency slider to the left (less transparent) or the right (more transparent). To adjust the transparency applied to any individual category, click the color chip beside the category name. To adjust the transparency of unique locations per feature, click Attribute Values and choose an attribute field. You can only use this option if you have numeric or date data associated with your locations. For example, if your layer contains restaurant sales data, you can choose Type for the restaurants and set the transparency of the individual restaurants by their annual sales.
You can also use a custom attribute expression written in Arcade when setting transparency for features. Arcade expressions are supported for all styles except Heat map, Predominant Category, Predominant Category & Size, and the Age styles. If the layer has an existing rendering expression, you can select it from the bottom of the drop-down menu. Optionally, you can edit the expression directly in Map Viewer by clicking the Edit Expression button and making changes in the editor window.
In addition, you can create your own expression by selecting New Expression from the drop-down menu and using the editor window to create your expression, including giving it a name. If an expression was previously created for the layer for use in labels or pop-ups, you can use it to build your expression by selecting it from the Existing tab in the editor window.
- Click OK when you are finished customizing your style or click Cancel to go back to the Change Style pane without saving any of your choices.
Types & Size
This style allows you to represent your data using different sizes and different categories by color. Choose a text, date, or numeric field for unique values, and a numeric field for size values, and adjust each attribute's map symbol settings as needed. For example, use this style when you want to show a count attribute such as the number of people who have a graduate degree, and use a unique color for each value found in another field such as a county name.
To style two attributes using unique values and size, do the following: