Let's make a map with D3.js!
✓ Published0🌍 Public
This example demonstrates an interactive map of Dutch municipalities, with each region rendered as a clickable SVG path. It uses D3 v5’s `geoMercator` projection and `geoPath` to draw the map from TopoJSON data fetched via `d3.json`. Users can zoom and pan the map through the `d3.zoom` behavior, while clicking a municipality triggers a placeholder handler. The map loads municipal boundaries from cartomap.github.io, and the code includes a structure for resetting the view and adding tooltips with municipality names.
AI-generated descriptionMIT Licensed