SP - BRAZIL - MAP
✓ Published0🌍 Public
This choropleth map displays the municipalities of São Paulo, Brazil, colored by political party affiliation. The geographic boundaries are rendered as SVG paths using D3.js version 7, with each region’s `data-party` attribute determining its fill color. The visualization uses D3’s selection API to attach mouseover event listeners to all geographic elements, triggering a lookup in the imported `SP` dataset to log the corresponding municipality details. The map includes zoom and pan capabilities through a transformable group, and the styling applies white strokes between regions for clear separation.
AI-generated descriptionMIT Licensed