Map charts render data against a geographic background loaded from a TopoJSON source. You can use them in two modes: choropleth mode, where regions are colored according to a data value usingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/TargetProcess/tauCharts/llms.txt
Use this file to discover all available pages before exploring further.
fill and code, and point mode, where individual records are placed at specific coordinates using latitude and longitude.
Validation rules
Two rules are enforced when building a map spec:fillrequirescode— If you specifyfill, you must also specifycode. Thecodefield identifies which geographic region each data record maps to.latitudeandlongitudemust both be present — If you specify one coordinate field, you must specify the other. Providing only one raises an error.
Configuration
Must be
"map".A data field containing ISO 3166-1 alpha-3 country codes (e.g.
"DEU", "FRA"). Required when using fill. The default georole is "countries".A data field whose numeric values are mapped to a sequential fill color scale across geographic regions. Must be used together with
code.A data field containing the latitude coordinate for point placement. Must be specified together with
longitude.A data field containing the longitude coordinate for point placement. Must be specified together with
latitude.A data field used to color-encode points (point mode) or to apply a categorical color override on regions (choropleth mode).
A data field used to scale point size in point placement mode. The size range defaults to
{ min: 1, max: 10 }.Array of plain objects containing the geographic identifier or coordinate fields, along with any measure fields.
Map-specific visual configuration. Supports a
sourcemap string to override the TopoJSON URL, and code.georole to change the geographic feature type.Array of plugin instances.
Point placement example
The default source map is loaded from the Taucharts GitHub repository as a world countries TopoJSON file. Override
guide.sourcemap with a URL to your own TopoJSON file to display a custom geography.