World map with zoom / pan and cities
✓ Published0🌍 Public
Dd3noob
Last edited Nov 30, 2019
Created on Mar 19, 2013
This example presents a world map rendered with SVG, featuring zoom and pan controls. It overlays red circular markers on select global cities, which are loaded from a CSV file and positioned using the Mercator projection via `d3.geo.mercator()`. Each city marker is hyperlinked to a Google search for its name. The map’s geography is drawn from a TopoJSON file, with paths generated through `d3.geo.path()`, while zooming and panning are handled by `d3.behavior.zoom()`.
AI-generated descriptionA World map with zoom / pan functionality and added markers on cities.
mit Licensed