world map w/ country names
✓ Published4🌍 Public
This example displays a world map with country boundaries and names, rendered as SVG in a React component. It uses the `d3.geoPath` and `d3-geo-projection` `geoNaturalEarth1` projection to draw landmasses, graticules, and country borders, with country names shown via SVG `<title>` tooltips on hover. Data comes from the World Atlas TopoJSON, loaded with `d3.json` and processed using `topojson.feature` and `topojson.mesh`. The map is styled with CSS, including hover effects that fill individual countries.
AI-generated descriptionA world map showing country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
MIT Licensed