draw a world map
✓ Published2🌍 Public
This example displays a world map using the Equal Earth projection within an SVG canvas. The map shows country boundaries as light green shapes with dark blue oceans, rendered using `d3.geoEqualEarth` and `d3.geoPath`. It loads geographic data from the world-atlas TopoJSON file, converts it with `topojson.feature`, and appends each country path to the SVG. The visualization relies on D3 v5 and uses simple CSS classes to differentiate the sphere background from country landmasses.
AI-generated descriptiondraw a world map
MIT Licensed