🌍 Public
Viewing a saved revision (read-only)
5b33a13ac8184cd9b77b48190a33e8b7
Let's make a face with D3
This example shows a world map rendered from TopoJSON data, with red circles marking port locations from a CSV file. The map uses an equirectangular projection centered on a specific region, and the visualization supports zooming and panning through D3’s zoom behavior. The code uses `d3.geo.equirectangular()`, `d3.geo.path()`, and `topojson.feature` to draw country boundaries, while circles are placed using the projection function on longitude and latitude coordinates. The SVG output is styled with a hidden overflow.
AI-generated description