Skip to main content
100%

World map

✓ Published1🌍 Public
FFrederick O'Brien
Last edited Dec 1, 2021
Created on Nov 26, 2021
Forked from Working with time

This example shows a world map rendered as an orthographic projection of landmasses and graticules, with country borders highlighted. It uses D3’s `geoOrthographic`, `geoPath`, and `geoGraticule` to project and draw the sphere, graticule grid, and land features from a TopoJSON world-atlas dataset, while `topojson.feature` and `topojson.mesh` extract geometries and interior borders. React manages the component structure and data loading via a custom `useData` hook, with all shapes output as SVG paths.

AI-generated description

A scatter world map built with D3 and React.

MIT Licensed

Similar vizzes