Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SP - BRAZIL - MAP

Public visualization

Viewing a saved revision (read-only)

179d2077e750424d9f5ef59c4be8d3e7

SP - BRAZIL - MAP

1 star0🌍 Public
FFelipe Maion
Last edited Nov 9, 2022
Created on Oct 30, 2022
Forked from D3 Starter

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 description