AnyChart JS Maps can use custom SVG files as GeoData, enabling choropleth rendering on any vector shape including floor plans, custom territories, or artistic maps without requiring standard GeoJSON or TopoJSON files.
This sample loads a Zimbabwe SVG file with an embedded national flag from the AnyChart CDN and renders a choropleth over its ten provinces. The unboundRegions mode is set to 'as-is' to preserve the original SVG styling for non-data elements, while an ordinal color scale applies four blue shades to the mapped province IDs based on their assigned values.
See the AnyChart Maps documentation for all configuration options.