RegionMap

A simple geodata component wrap on top of react-simple-maps.

Example

Example usage.

API

RegionMap
PropDescriptionTypeDefault
dataMap dataArray<{name: string, value: string | number}>[]
mapSourceGeography SVG, More geography SVG can be found in this repositorystring | string[]
valuePrefixRender a prefix content before the valuestring-
valueSuffixRender a suffix content next to the valuestring-