In additional to world and country maps, amCharts 5 geodata package comes with a set of specialized regional maps, such as second-level subdivisions (districts), e.g. counties. This tutorial will show how those can be used.
We're assuming, you have basic knowledge of how the map chart works, about its data loading, and series.
Please visit "Map chart" tutorial for more information.
Regional maps are located in their respective sub-directories, e.g.
The global name of the regional map will reflect its sub-directory structure.
For example, congressional district map of Florida would load like this:
import am5geodata_region_usa_congressional2022_worldLow from "@amcharts/amcharts5-geodata/region/usa/congressional2022/flLow";
Available map sets
|Directory||Global variable name||Comment|
|Counties of Canada|
|Counties of Mexico|
|Counties of the USA|
|Congressional districts of the USA (117th congress)|
|Congressional districts of the USA (118th congress)|
|Maps of various regions of the World, e.g. Europe|
Country-specific map sets usually contain maps for each state/province as well as a single map of the whole country with all second-level subdivisions.