Charts
Choropleth
A React choropleth component for analytics dashboards. Regions by intensity. Tiles, heat, or a dithered field.
- US702
- GB665
- DE616
- ES619
- BR581
- FR516
- IN462
Props
| Property | Type | Default | Description |
|---|---|---|---|
data | ChartDatum[] | — | Regions. Pass code for a two-letter tile label. |
dataKey | string | "value" | Numeric field used for intensity. |
labelKey | string | "label" | Region name. code falls back to the first two letters. |
variant | "tiles" | "heat" | "dither" | "tiles" | Labeled tiles, a tighter heat field, or a wash. Not a geoJSON map. |
className | string | — | Outer wrapper. |