Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World map

Public visualization

World map

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed