You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-mintlify/docs/explore-analyze/charts/chart-types/map.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Clustering groups nearby points into a single circle that expands on zoom. It is
58
58
59
59
A region map requires:
60
60
61
-
-**Source** — the GeoJSON to render: `World countries`, `US states`, or `Custom`.
61
+
-**Source** — the GeoJSON to render: `World Countries`, `US States`, or `Custom`.
62
62
-**Property** — which property in each GeoJSON feature acts as the join key (e.g. `name`, `ISO3166-1-Alpha-2`, `ISO3166-1-Alpha-3`, `state_code`).
63
63
-**Dimension** — which column from your query joins to **Property**.
64
64
-**Measure** — the numeric measure that drives the choropleth fill.
@@ -71,11 +71,11 @@ The choropleth gradient comes from the active palette — pick from the built-in
71
71
72
72
### Country name matching
73
73
74
-
With **World countries**, country names do not have to be spelled the way the boundary data spells them. Long forms, endonyms, and common abbreviations all resolve to the same country, so `United States`, `United States of America`, and `USA` are interchangeable, as are `Brasil` and `Brazil`, or `Deutschland` and `Germany`. The same applies to the 2- and 3-letter ISO code properties, and it works in either direction — a name in your data still matches when **Property** is set to a code.
74
+
With **World Countries**, country names do not have to be spelled the way the boundary data spells them. Long forms, endonyms, and common abbreviations all resolve to the same country, so `United States`, `United States of America`, and `USA` are interchangeable, as are `Brasil` and `Brazil`, or `Deutschland` and `Germany`. The same applies to the 2- and 3-letter ISO code properties, and it works in either direction — a name in your data still matches when **Property** is set to a code.
75
75
76
76
Matching is exact, never approximate: `United States` resolves to the United States and never to `United States Minor Outlying Islands`. Bare 2-letter codes such as `US` are only treated as country codes when **Property** is set to one of the ISO code properties, so a column of US state codes joined against country names stays unmatched rather than coloring `DE` as Germany.
77
77
78
-
This applies to **World countries** only. With **US states** or **Custom**, values must match the chosen **Property** exactly (ignoring case and surrounding whitespace).
78
+
This applies to **World Countries** only. With **US States** or **Custom**, values must match the chosen **Property** exactly (ignoring case and surrounding whitespace).
0 commit comments