You can use a cluster layer as a type of data layer on a map visualization. In a cluster layer, points that are positioned near each other are grouped together into a common bubble.
The number of points clustered in the group is indicated in the bubble's label. If selected points are grouped with unselected points, the circle is dotted to indicate a partial selection. Individual points are displayed as pin icons to emphasize the distinction between grouped and ungrouped points. Points are grouped based on their proximity in pixels and on the map's zoom factor.
- Create or open the project where you want to use a point cluster layer on a map visualization. Confirm that you’re working in the Visualize canvas.
- Create an empty map visualization by dragging the Map visualization from the Data Panel to the canvas.
- Drag and drop attribute columns containing map-related data from the Data Panel to the Category (Geography) section on the Grammar Panel.If you’re creating a project with a map visualization, in the Data Panel, right-click an attribute column and click Pick Visualization then select Map.
- Click the Data Layers tab of the properties pane.Alternatively, click Layer options in the Category (Geography) section and click Manage Layers.
- To create a point cluster, click Layer Type value and
select Cluster.Alternatively, you can add a new map layer, change the layer type to Cluster, then add attribute columns to the Category (Geography) section.