🌍 Public
Viewing a saved revision (read-only)
616716d200b8420a920b3ecbce5f34e3
Let's make a map with D3.js!
This example shows a simple world map rendered in an SVG element using the Natural Earth projection. It loads geographic data from a remote JSON file and draws countries as light green paths with subtle black strokes. The code uses D3 v5’s `geoNaturalEarth1`, `geoPath`, and `json`, along with TopoJSON’s `feature` to extract the geographic features. The map is displayed in a full-viewport layout with no interactivity or additional styling.
AI-generated description