OptionalmetadataMetadata from the Eurostat API response or CSV source.
Optionallabel?: stringLabel.
Optionalhref?: stringHref.
Optionalsource?: stringSource.
Optionalupdated?: stringUpdated.
Optionaltime?: stringTime.
Optionalextension?: anyExtension.
OptionaleurostatEurostat dataset code.
OptionalcsvCSV source URL.
Returns the stat entry {value, status} for a given NUTS ID. If called with no argument, returns the entire data index.
OptionalnutsId: stringSets the entire dataset at once, indexed by NUTS ID. Overwrites any previously loaded data.
Returns true if data has been loaded.
Returns true if the loaded data contains at least one finite numeric value.
Returns all stat values as a flat array, for use in classification.
Returns all unique stat values, for use in categorical maps.
Returns the minimum numeric value in the dataset.
Returns the maximum numeric value in the dataset.
Returns the NUTS ID of the region with the highest value.
Returns the NUTS ID of the region with the lowest value.
Returns true if the data is ready to be used for rendering.
Returns the time stamp of the loaded Eurostat dataset. Reflects the 'time' filter if set, otherwise the first time dimension in the API response.
Unit of measure label shown in tooltips. e.g. 'people/km²'
Fetches data from the configured remote source (Eurostat API or CSV). Called internally by the map build pipeline.
NUTS level (0–3).
BCP 47 language code. e.g. 'en'
Called when data is ready.
A statistical dataset indexed by NUTS region ID. Returned by map.statData() and created internally by statData().