Skip to content

Commit 68c22f2

Browse files
committed
docs: fix Region map section placement, US-code wording and spelling
1 parent 417e151 commit 68c22f2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • docs-mintlify/docs/explore-analyze/charts/chart-types

docs-mintlify/docs/explore-analyze/charts/chart-types/map.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,24 @@ Clustering groups nearby points into a single circle that expands on zoom. It is
5959
A region map requires:
6060

6161
- **Source** — the GeoJSON to render: `World countries`, `US states`, or `Custom`.
62-
- **Property** — which property in each GeoJSON feature acts as the join key (e.g. `name`, `ISO3166-1-Alpha-2`, `state_code`).
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`).
6363
- **Dimension** — which column from your query joins to **Property**.
6464
- **Measure** — the numeric measure that drives the choropleth fill.
6565

6666
Built-in sources expose a fixed list of allowed properties. **Custom** lets you point at any public GeoJSON URL; the property dropdown then enumerates every key present in the feature collection.
6767

6868
When the chart enters Region mode, the join dimension and measure are auto-picked when an unambiguous match exists in your query.
6969

70+
The choropleth gradient comes from the active palette — pick from the built-in palettes or supply a custom one, see [Color and stacking](/docs/explore-analyze/charts/configuration/color-and-stacking).
71+
7072
### Country name matching
7173

72-
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`, `USA`, and `US` 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.
7375

74-
Matching is exact, never approximate: `United States` resolves to the United States and never to `United States Minor Outlying Islands`. Bare 2-letter codes 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 colouring `DE` as Germany.
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.
7577

7678
This applies to **World countries** only. With **US states** or **Custom**, values must match the chosen **Property** exactly (ignoring case and surrounding whitespace).
7779

78-
The choropleth gradient comes from the active palette — pick from the built-in palettes or supply a custom one, see [Color and stacking](/docs/explore-analyze/charts/configuration/color-and-stacking).
79-
8080
### Custom GeoJSON
8181

8282
When **Source** is set to **Custom**, paste a URL serving a GeoJSON `FeatureCollection`. Requirements:

0 commit comments

Comments
 (0)