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.

Custom shapes are applied as follows:
  • 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.

  1. On your home page, hover over a workbook, click Actions, and select Open.
  2. From the Data pane, drag and drop an attribute column containing point data to Category (Location) in the Grammar pane.
  3. Drag and drop an attribute or measure column to Shape in the Grammar pane.
  4. 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.
  5. Right-click one of the selected data points, select Custom Shapes and then select Series or Data Point.
  6. Select a custom shape and click Done.
  7. Click Save.