Skip to main content

Choropleth

A choropleth map is a type of statistical thematic map that uses intensity of color to correspond with an aggregate summary of a geographic characteristic within spatial enumeration units, such as population density.1
Example below contains data about Gross domestic product2 in countries that are members of OECD3.

Example

Loading...

Installation

npm i geovisto-layer-choropleth

Configuration

Configuration used in example above:

{
"type": "geovisto-tool-layer-choropleth",
"id": "geovisto-tool-layer-choropleth",
"enabled": true,
"layerName": "Choropleth layer",
"data": {
"geoData": "world polygons",
"geoId": "Country",
"value": "Value",
"aggregation": "sum",
"scaling": "median",
"range": 7,
"customColor": true,
"color": "#041FEC",
"unitsEnabled": true,
"units": "$",
"unitsDesc": "US Dollars (Millions)"
}
}

Dimensions

Dimensions used in Connection Layer:

  • geoData - polygons/centroids
  • geoId - geospatial data
  • value - value to be displayed
  • aggregation - aggregation
  • scaling - scaling method
  • range - number of shades of color to use
  • customColor - custom color enabled/disabled
  • color - custom color
  • unitsEnabled - enable/disable units
  • units - short units
  • unitsDesc - longer units

1 Wikipedia: Choropleth map
2 Wikipedia: Gross domestic product
3 OECD