Map with D3.js
✓ Published1🌍 Public
This map visualization displays the countries of the world in a natural Earth projection, with oceans filled in steel blue and landmasses in light green with subtle black outlines. The map uses a D3.js geoPath and geoNaturalEarth1 projection, alongside the topojson library’s feature function to convert the world-atlas TopoJSON data into GeoJSON features for rendering. Each country is drawn as an SVG path within a 960x500 canvas, and the code also generates a sphere background to represent the Earth’s surface.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed