🌍 Public
Viewing a saved revision (read-only)
5e02d7418c9b42f59b0c29d911531a5c
Brazil Map
This example displays a zoomable map of Brazil, with each state drawn as a gold polygon outlined in black that turns maroon on hover. The visualization uses D3's `geoTransverseMercator` projection with `d3.geoPath` to render geographic features, and applies a zoom behavior that transforms a group element containing the map. State names come from GeoJSON data loaded from a remote repository, with tooltips provided via appended `title` elements. The map also relies on `d3-geo-projection` for the projection and TopoJSON utilities for feature extraction.
AI-generated descriptionBrazil Map