MongoDB Charts provides shape schemes to help define regions in your Choropleth Charts. Each shape scheme has a distinct set of expected values where each value corresponds to a region.
In choropleth charts, you specify regions with the
Location channel. The value in the location channel
must match a region value for the selected Shape Scheme
(case insensitive)- when using the US States
scheme, the region of
California will match both
CA as well as
The following table defines the available shape schemes and their expected Location values:
Countries and Regions
Default shape scheme. Full country names, two-letter ISO-3166-1alpha2 country codes, and some common country name variants.
Full names and two-letter abbreviations (FIPS state codes) for the states in the United States.
Full names and two-letter codes for Canadian provinces, expressed in English or French language.
Countries in the United Kingdom.
UK Counties and Districts
Full names and two-letter German state codes of German states, expressed in German or English language.
Full names and abbreviations for Australian states.
Australian Local Government Areas
Australian local government areas.
Full names and three-letter abbreviations for all Italian regions, expressed in Italian or English language.
Full names and abbreviations for Dutch provinces, expressed in Dutch or English language.