Skip to main content
100%

D3 course - World Map

✓ Published1🌍 Public
JJames Rhodes
Last edited Apr 13, 2022
Created on Apr 5, 2022

This example displays a world map rendered as an SVG, using a natural Earth projection to show countries, graticules, and a stylized globe with colored landmasses and ocean. It loads GeoJSON data from the world-atlas TopoJSON file, converting it with `feature` and `mesh` from topojson. The visualization uses `d3.geoPath` and `d3.geoNaturalEarth1` for projections, React hooks for data fetching, and CSS to style the map elements.

AI-generated description

Displaying a map of the world using

Data from unpkg world atlas (countries)

MIT Licensed

Similar vizzes