Skip to main content
100%

Fork of Fork of Simple World Map

✓ Published0🌍 Public
Eendalett2022ephi@gmail.com
Last edited Sep 9, 2024
Created on Sep 9, 2024

This example shows an interactive world map that loads geographic data asynchronously and renders it as SVG paths. It uses a Natural Earth projection with graticule and outline overlays, displaying country boundaries in white strokes. The code fetches TopoJSON data from a CDN and converts it to GeoJSON using `topojson.feature`, then renders it with `d3.geoPath` and `geoNaturalEarth1`. The visualization is built with React and D3 v7, managing loading states through a state-based data flow.

AI-generated description
MIT Licensed

Similar vizzes