IChartMapChoroplethDatum
interface
Chart
A single choropleth data point keyed by ISO-3166-1 alpha-2 country code. The numeric value drives the colour interpolation between colorRange endpoints.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- coderequiredstring
- ISO-3166-1 alpha-2 country code (e.g. 'FR', 'US').
- valuerequirednumber
- Numeric value used to drive the colour interpolation between colorRange endpoints.
- namestring
- Human-readable label. Defaults to code when omitted.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Choropleth data for European countries