Skip to content

feat: add per-region hover breakdown to carbon-dial maps#15

Merged
koen-vg merged 1 commit into
mainfrom
carbon-dial-region-hover
Jun 25, 2026
Merged

feat: add per-region hover breakdown to carbon-dial maps#15
koen-vg merged 1 commit into
mainfrom
carbon-dial-region-hover

Conversation

@koen-vg

@koen-vg koen-vg commented Jun 25, 2026

Copy link
Copy Markdown
Member

Hovering a region on the cropland/pasture maps now shows a tooltip with the region's land use: cropland split by crop group (Mha and share) and grazing area, with the hovered region outlined. Headers use full country names (via pycountry, shipped in surrogate.json meta) instead of ISO3 codes. PCA-reconstructed area fields are clipped to >= 0 since the linear decoder can produce small negative values.

Hovering a region on the cropland/pasture maps now shows a tooltip with
the region's land use: cropland split by crop group (Mha and share) and
grazing area, with the hovered region outlined. Headers use full country
names (via pycountry, shipped in surrogate.json meta) instead of ISO3
codes. PCA-reconstructed area fields are clipped to >= 0 since the linear
decoder can produce small negative values.
@koen-vg koen-vg merged commit 275893f into main Jun 25, 2026
@koen-vg koen-vg deleted the carbon-dial-region-hover branch June 25, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant