HOW TO
In ArcGIS Online, assigning various colored symbols to one or more attribute fields in a dataset provides better visualization of spatial data on a map. When there is irrelevant data within the same fields, Arcade expressions and the Symbology tool can be used to further categorize a collection of attribute fields to offer a more focused display of symbology points.
The instructions below describe how to use the Field Calculator in ArcGIS Online to identify a specific set of attribute fields to display on a map. In this example, the LEVEL field in the Schools Article Testing feature class is used to identify the attribute field symbology points for elementary, high school, and college or university.
var <variable name> = $feature.<field name> if (<variable name> == "<field value>") { return "<label name>"; } else if (<variable name> == "<field value>") { return "<label name>"; } else if (<variable name> == "<field value>") { return "<label name>"; } else if (<variable name> == "<field value>") { return "<label name>"; }
Get help from ArcGIS experts
Download the Esri Support App