Hexbin Layer

The Hexbin Layer is similar to the Hexbin Layer. They display distributions of aggregate metrics such as point count within each hexbin, average/max/min/median/sum of a numerical field, or mode/unique count of a string field.

An example of the Hexbin Layer.

An example of the Hexbin Layer.

Both the color and height dimensions can encode data. Users can adjust the hexagon radius and the space between hexbins.

Settings

The following sections detail every setting available for the Hexbin Layer.

Basic

Core settings for the Hexbin Layer.

SettingDescription
Layer TypeMust be Hexbin to display the Hexbin Layer.
DatasetThe dataset to use for the Hexbin Layer.
ColumnsSelect a latitude and longitude.

Color

Color settings for the Hexbin Layer.

SettingDescription
Color Based OnThe column to base the hexbin color on. Defaults to point count.
Color ScaleThe color scale and palette for the hexbin color.
Filter By Count PercentileModify the color scale's range by count percentile.
OpacityThe opacity of the hexbin. 100 = fully opaque, 0 = fully transparent.

Radius

Resolution settings for the Hexbin Layer.

SettingDescription
Radius (Km)The size of each hexagon in kilometers.
CoverageThe amount of each hexbin space covered by the hexagon. Decrease to leave extra space between each hexagon of the hexbin.

Height

Height settings for the Hexbin Layer. Best viewed in 3D mode.

SettingDescription
Height MultiplierThe factor to multiply the height by. Increase to raise the height of each hexagon on the map.
Height Based OnA column to base the height on. Defaults to point count.
Height ScaleA scaling factor to apply to the height. Choose from linear, sqrt, or log.
Height RangeSet the minimum and maximum height on the slider.
Fixed HeightFix the height to a static number without any modifications.

JSON Schema

For details on how to programmatically specify layer properties, refer to the Layer Configuration specification.