Let's make a map with D3.js!
✓ Published1🌍 Public
This example shows an interactive world map where countries appear in light green against a blue ocean sphere, using the Natural Earth projection. The visualization loads geographic data from the world-atlas dataset and renders vector paths with SVG. The code imports D3.js functions including geoNaturalEarth1 for the projection, geoPath for generating path data, and select for DOM manipulation. Country boundaries are drawn from TopoJSON features using the topojson library, while styling comes from the attached CSS file.
AI-generated descriptionMIT Licensed