🌍 Public
Viewing a saved revision (read-only)
748a4c8adcdd44ee92d13bdade935a7d
Simple World Map
This example displays a simple world map using D3.js v5 and TopoJSON, rendering countries as green polygons against a blue sphere background. It uses `d3.geoPath` with the `geoNaturalEarth1` projection to convert geographic coordinates into SVG paths, and `topojson.feature` to extract country boundaries from the world-atlas dataset. The visualization is static, with no interaction or zoom enabled, focusing solely on the geographic outline of continents and national borders.
AI-generated descriptionDraw a simple world map using D3.js