🌍 Public
Viewing a saved revision (read-only)
5743d27cec204e999099f4a50ac7ab37
World map d3 and React
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 descriptionloads data with d3 and react