Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Simple World Map

Public visualization

Viewing a saved revision (read-only)

b867b864a87d4c8abd74e63523f96d3c

Fork of Fork of Simple World Map

0 stars0🌍 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