🌍 Public
Viewing a saved revision (read-only)
e6112ef6e10c429b8e6d8ef6a49565cd
D3 Map Nederland
A choropleth map of Dutch municipalities loads from a TopoJSON file and renders each region as an SVG path. Clicking a municipality highlights it in red and triggers a smooth, animated zoom using `d3.zoom` with a `geoMercator` projection and `geoPath`. Hovering changes the fill to orange. The zoom transition, defined with a duration and easing function, centers on the selected region, while the `zoom` event handler adjusts the group transform and stroke width.
AI-generated description