Let's make a map with D3.js!
✓ Published0🌍 Public
This example displays a world map using the Natural Earth projection, with each country rendered as a dark green SVG path on a light blue background. The code loads GeoJSON data from the world-atlas TopoJSON dataset and converts it using `topojson.feature`. D3 v5’s `d3.geoNaturalEarth1` projection and `d3.geoPath` generate the map shapes, with paths appended to an SVG container via data joins.
AI-generated descriptionMIT Licensed