Represent Point Data with Custom Icons on a Map
You can use the Shape edge in the Grammar pane to represent point data with custom icons in a map visualization.
You can associate a column with Shape to display a custom shape for values in a data layer that uses the Point layer type. For example, you can distinguish between cities by displaying them using custom shapes, such as a square, triangle, or currency symbol.
You can also change which custom shape you want to apply to one or more data points.
-
Series dialog - custom data point shape not previously set: Replaces highlighted data points and series items with the custom shape.
-
Series dialog - custom data point shape previously set: Replaces only corresponding series items with the custom shape.
-
Data Point dialog: Replaces only highlighted data points with the custom shape.
If you want to reset all of the custom shapes currently applied to data points on a map visualization, right-click any data point, select Shape, and click Reset Custom Shapes. This resets all of the shapes applied to data points on the map to the default setting.
- On your home page, hover over a workbook, click Actions, and select Open.
- From the Data pane, drag and drop an attribute column containing point data to Category (Location) in the Grammar pane.
- Drag and drop an attribute or measure column to Shape in the Grammar pane.
- Highlight one or more data points on the map using one of the selection tools, or use Ctrl-click to select one or more data points.
- Right-click one of the selected data points, select Custom Shapes and then select Series or Data Point.
- Select a custom shape and click Done.
- Click Save.