What symbol should the analyst put at the end of the line of code to add a layer to the plot

Unique values symbolize qualitative categories of values. Examples include habitat types, planning zones, voting preferences, and soil classifications.

Unique value symbology can be based on one or more attribute fields in the dataset, or you can write an Arcade expression to generate values on which to symbolize.

If you have access to a style that has symbols named to match the symbol class values, you can use the Match Layer Symbology To A Style geoprocessing tool to apply unique values symbology to the layer.

What symbol should the analyst put at the end of the line of code to add a layer to the plot
This feature layer uses unique values symbology to show the generalized classification of soils in Australia.

The Primary symbology tab

What symbol should the analyst put at the end of the line of code to add a layer to the plot
has two subtabs to establish unique values symbology:

  • The Classes tab is where you manage the symbol, its patch shape, the values, the descriptive labels, and grouping of the symbol classes.
  • The Scales tab is where you specify the scale ranges in which each symbol class draws.

To symbolize using unique values, complete the following steps:

  1. Select a feature layer in the Contents pane. On the Feature Layer tab, in the Drawing group, click Symbology
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    and click Unique Values to open the Symbology pane.
  2. In the Symbology pane, on the Primary symbology tab
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    , on the Field 1 menu, choose a field on which to symbolize.
  3. Optionally, click the expression button
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to open the Expression Builder dialog box. Write an expression and click Verify
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to validate it.
  4. Optionally, click Add Field to add symbol permutations.

    You can have up to three symbology fields. Only the first field can use an expression.

  5. Optionally, on the Classes tab of the Symbology pane, click Add all values
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to add additional symbol classes.

    When choosing a field for unique values for the first time, no values are added.

  6. Choose a color scheme from the Color scheme drop-down list.

    Depending on the number of unique values, the color schemes from project styles are filtered so that only relevant color schemes are presented to you. For example, if you have only five unique values, you see quantitative color schemes showing five colors. In addition, you can also choose from random color schemes. Check the Show all check box to see all available color schemes. Color schemes stored in your Favorites style or custom styles always appear in this list, regardless of their type or number of colors. Click Format color scheme to modify a scheme.

    The colors in the color scheme are applied to all symbol classes by default. To apply the color scheme to a subset of symbol classes only, select those classes by highlighting them in the table on the Classes tab inside the Symbology pane. (Press and hold Shift or Ctrl while clicking in the Value or Label columns to select symbol classes.) With symbol class rows selected, choose a color scheme from the Color scheme drop-down list at the top of the Symbology pane.

    Click the Clear Selection button

    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to unselect symbol classes if necessary.

Set the color scheme target

If you are symbolizing polygons, click the Color scheme options button

What symbol should the analyst put at the end of the line of code to add a layer to the plot
to choose the target for the color scheme. You can apply the colors to the polygon fills, outlines, or both.

When you change the color scheme target, the other symbol layers of the polygons symbolizing each symbol class are not updated. For example, when you set the color scheme target to Apply to outline, the fill symbol layers are not updated, and setting it to Apply to fill does not alter the outlines of the polygons. This is to ensure that customized symbology is not lost. Symbol layers that are color locked are not updated by changes to the color scheme, regardless of the color scheme target setting.

To update all symbol layers to match the color scheme target setting, click the More drop-down menu and click Regenerate all symbols.

Color scheme targetResultResult after regenerating symbols
Apply to fill

The color scheme is applied to the fills (fill symbol layers) of the polygon symbols.

The color scheme is applied to the fills of the polygon symbols. Polygon outlines (stroke symbol layers) are solid gray lines.

What symbol should the analyst put at the end of the line of code to add a layer to the plot
Apply to outline

The color scheme is applied to the outlines (stroke symbol layers) of the polygon symbols.

The color scheme is applied to the outlines of the polygons. Polygon fills are fully transparent.

What symbol should the analyst put at the end of the line of code to add a layer to the plot
Apply to fill and outline

The color scheme is applied to the fills and outlines (fill symbol layers and stroke symbol layers) of the polygon symbols.

The color scheme is applied to the outlines of the polygons. The color scheme is applied to the fills of the polygons as hatches.

What symbol should the analyst put at the end of the line of code to add a layer to the plot

Modify unique value symbology

You make most changes to unique value symbology from the Primary symbology tab of the Symbology pane

What symbol should the analyst put at the end of the line of code to add a layer to the plot
. You can modify unique value symbology as follows:

  • To edit symbols, click a symbol in the Symbol column of the table to open the Format Symbol pane to modify the symbol or choose a different symbol.
  • For line and polygon features, click the drop-down arrow next to the symbol to set the symbol's legend patch. To change multiple patches at the same time, hold Shift or Ctrl while clicking the symbols, right-click the selection, and select Update legend patch to choose the patch shape.
  • To edit the symbol class label, click the label in the Label column and type a new label. Click another column or press Enter to apply the label.
  • To change the order of the symbol classes, drag a symbol class row to a new position in the table or click Move selected values up
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    or Move selected values down
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    .
  • To sort values, right-click the Value or Label heading and click Sort Ascending
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    or Sort Descending
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    . The symbol class order is reflected in the Contents pane and also in legends on layouts.
  • To remove a symbol class, right-click the symbol class and click Remove
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    . No data is deleted, but the associated features do not draw. Note that they may still be symbolized by an All other values group at the bottom of the table that collectively draws all values that are not otherwise symbolized by a symbol class.
  • To remove the All other values collective group so that only features participating in symbol classes are drawn, right-click the symbol class and click Remove
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    , or click More and uncheck Show all other values.
  • To add symbol classes, click Add unlisted values
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to open a table in the Select values to add subpane. This table lists all values not currently symbolized. Click Options and click Add new value
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to type a new value. When you add new values, they are added with the symbol of the <all other values> symbol class.

    Tip:

    If you are working with complex symbols, you can use this as a way to symbolize many symbol classes at once with a symbol and make changes to each class as necessary.

  • To reset each symbol class to its default symbol based on current symbology parameters, click the More drop-down menu and click Regenerate all symbols. You may want to do this after you've changed the color scheme target, or to discard individual symbol edits and get back to a default state.
  • To set masking per feature, click the Advanced symbology options tab
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    and expand Feature level masking.

Organize symbol classes into groups and headings

When there are a lot of symbol classes in a layer, it may help to group values together and to arrange symbol classes under headings.

Use grouping to make a combined symbol class from more than one unique value. For example, a roads layer may have the following road type values, with five corresponding symbol classes:

Road type valueSymbol class label

1

Divided highways

2

Highways

3

Major roads

5

Minor roads

7

Streets

You could simplify this layer to show just three classes by grouping data values as follows:

Road type valueSymbol class label

1, 2

Highways

3

Major roads

5,7

Roads

To group values together into one symbol class, follow these steps:

  1. While pressing the Ctrl key, click multiple symbol class rows from the table to select them.
  2. Right-click the Value or Label cell of one of the selected values and click Group values
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    to combine selected classes into one group.
  3. Ungroup a grouped class by right-clicking it and clicking Ungroup values

    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    .

Use headings to organize similar symbol classes together in the legend and give them a collective name. Headings are reflected in the Contents pane and also in legends on layouts.

Follow these steps to create headings for symbol classes:

Vary unique value symbology by transparency, rotation, size, or color

In addition to specifying qualitative symbology with unique values, you can also symbolize additional attributes by varying the transparency, rotation, size, and color of the unique value symbols. While all of these treatments can be applied simultaneously, be aware that too many visual variations make the layer difficult to interpret. It is advisable to apply secondary symbology sparingly.

Learn more about symbolization concepts

  1. In the Symbology pane, click the Vary symbology by attribute tab
    What symbol should the analyst put at the end of the line of code to add a layer to the plot
    .
  2. Expand Transparency, Rotation, Color, or Size.

    With polygon features, Outline width replaces Size, and Rotation is not available.

Related topics

  • Symbolization
  • Symbolize feature layers
  • Single symbol
  • Symbols
  • Color schemes
  • Use scale-based symbol classes
  • Match Layer Symbology To A Style
  • Draw layers with representations

Feedback on this topic?

Which of the following types of operators does the analyst use in the code?

In the code sales_1 <- (3500.00 * 12) , the analyst uses an assignment ( <- ) and an arithmetic ( * ) operator. The assignment operator assigns the calculated value in parentheses to the variable sales_1 and the arithmetic operator multiplies the values in parentheses to complete the calculation.

Which of the following represents a function in the code chunk select all that apply 1 point?

The functions in the code chunk are the ggplot() function, the geom_point() function, and the aes() function.

When a data analyst notices a data point that is very different from the norm in a scatter plot the best course of action is to _____ the outlier?

Question 5. Fill in the blank: When a data analyst notices a data point that is very different from the norm in a scatter plot, the best course of action is to _____ the outlier. Correct. When a data analyst notices an outlier, the best course of action is to investigate it.

How many subplots does your Visualisation show?

Inside the parentheses of the facet_wrap() function, write a tilde symbol (~) followed by the name of the variable you want to facet. The facet_wrap() function lets you display subsets of your data. Your visualization shows 5 subplots.