Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World map d3 and React

Public visualization

Viewing a saved revision (read-only)

5743d27cec204e999099f4a50ac7ab37

World map d3 and React

0 stars0🌍 Public
SShane Carey
Last edited Jan 27, 2021
Created on Jan 27, 2021

This example displays a world map with Ireland highlighted in teal, set against a muted sphere and interior borders, using an equal Earth projection. Built with React and D3 v5, it loads TopoJSON world-atlas data via `d3.json` and processes it with `topojson.feature` and `topojson.mesh`. The map is rendered as SVG paths created through `d3.geoPath` and `d3.geoEqualEarth`, with a `useData` hook managing asynchronous data loading.

AI-generated description

loads data with d3 and react