Fork of Let's make a map with D3.js!
✓ Published0🌍 Public
This example displays a natural Earth world map with countries rendered in light green against a blue spherical backdrop, using the Natural Earth 110m dataset loaded via `d3.json`. The visualization employs D3 v5’s `geoNaturalEarth1` projection and `geoPath` to generate SVG paths, while the TopoJSON library’s `feature` function extracts country geometries from the raw GeoJSON. A static sphere outline is drawn first, followed by country boundaries with subtle black strokes, all rendered as SVG elements within a 960×500 viewport.
AI-generated descriptionMIT Licensed