🌍 Public
Viewing a saved revision (read-only)
a477b96b1e384556b6cfdb30cb367d8e
lets make a map with d3
This example shows a blank SVG canvas awaiting map data, loading world geography from the world-atlas TopoJSON dataset. The code initializes a d3 selection on the SVG element, extracts its width and height, and fetches the 110m resolution world data using d3.json. Though the data is logged to the console, the visualization does not yet render any map features—it demonstrates the initial setup for building a geographic projection and path generator in d3 v5.
AI-generated description