Legends
Adding a legend block to a visualization makes a legend entry appear for this visualization.
Each legend entry is shown with the geometry type and color defined by the dataset and the visualization block.
While simple visualizations will generate a single legend entry, categorical visualizations will generate a legend entry per category.
To see how a legend is defined, take a look at the legend block section.
Simple legend
The Biodiversity Hotspots layer in Felt has a simple visualization with a legend defined as follows:
Categorical legend
The Plant Hardiness Zones layer in Felt has a categorical visualization with a legend defined as follows:
Numeric legends
The visual display of numeric legends varies based on the style method (stepped or continuous) and the geometry type (point, line, polygon).
The displayName
can be modified in the legend
block similar to simple and categorical style types.
Stepped
Continuous
Heatmap legends
Heatmap legends are defined as follows:
Notice that the displayName
mapping goes from 0
(left value) to 1
(right value)
Last updated