For the complete documentation index, see llms.txt. This page is also available as Markdown.

Examples

A compact, one-per-type overview. For fuller, captioned examples — line casing, proportional symbols, icon-per-category, H3 aggregation popups, raster algebra — see the individual Types of visualizations pages.

Minimal

{"version": "2.3.1", "type": "simple", "config": {}, "paint": {}, "label": {}}

Point (simple)

{
  "version": "2.3.1",
  "type": "simple",
  "config": {"labelAttribute": ["name"]},
  "paint": {"color": "#8F7EBF", "size": 4, "strokeColor": "auto", "strokeWidth": 1},
  "label": {"color": "auto", "haloColor": "auto", "placement": ["E"], "offset": [6, 0]}
}

Line (simple)

{
  "version": "2.3.1",
  "type": "simple",
  "config": {"labelAttribute": ["river_name"]},
  "paint": {"color": "hsl(217, 80%, 40%)", "size": 2},
  "label": {"color": "auto", "fontStyle": "italic", "placement": "Above", "repeatDistance": 200}
}

Polygon (simple)

Categorical

Numeric

Heatmap

H3

Raster

Last updated

Was this helpful?