Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
SSam de Man
Last edited Nov 2, 2020
Created on Nov 2, 2020
Forked from D3 Map Nederland

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 description
MIT Licensed

Similar vizzes