A choropleth map uses different colors and hues for entire areas and regions. Areas on a map are set using geopolygons.
A geopolygon is an element that consists of an area bounded by a closed line and the line itself. The measure value is expressed through color saturation or hue.
A choropleth map is used to analyze a measure within a territorial unit. For example, you can use a choropleth map to demonstrate the density of population of individual districts.
To show polygons on a map, add a Geopolygon type field to your dataset:
Create a text field with data formatted as [[[55.60807, 37.5698], [55.60847, 37.56992], [55.60851, 37.57095]]] for polygon point coordinates enclosed in square brackets.
You can first prepare data in a database and set the Geopolygon data type in the dataset description interface.
Use the GEOPOLYGON(polygon_string)function to create a calculated field with the Geopolygon data type.
Follow the link to download a sample CSV file with Russian region polygons.
Dimension or measure. Affects the color and intensity of area fill.
Tooltips
Dimension or measure. A tooltip that appears when you hover over an area. For String type fields, you can configure using basic Markdown in DataLens On-premises syntax: click the icon before the field name and enable Markdown.
Layer filters
Dimension or measure. Used as a filter for the current layer.
Filters
Dimension or measure. Used as a filter for the entire chart.