Skip to main content
100%

World map d3 and React

✓ Published0🌍 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

MIT Licensed

Similar vizzes