Skip to main content
100%

world map

✓ Published1🌍 Public
BBlake McCarty
Last edited May 13, 2022
Created on May 12, 2022
Forked from line chart

This example renders a world map using a Natural Earth projection, displaying landmasses in black, the sphere in light blue, graticule lines in semi-transparent blue, and country borders in red. It builds the map with `d3.geoNaturalEarth1` and `d3.geoPath`, while `topojson.mesh` generates the borders from the world-atlas dataset. The map is drawn as SVG paths within a React component, with styling applied via CSS classes.

AI-generated description

Half of the smiley HTML page.

MIT Licensed

Similar vizzes