Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Map Simple

Public visualization

Viewing a saved revision (read-only)

e0b55de92ae443959bf8daf2b13bee1e

Fork of World Map Simple

0 stars0🌍 Public
Zzenoalive
Last edited Apr 29, 2023
Created on Apr 29, 2023
Forked from Simple World Map

This example shows a basic interactive world map using D3.js and TopoJSON. It renders country outlines, a graticule grid, and a map outline using d3.geoPath with a geoNaturalEarth1 projection. Country boundaries are loaded from the visionscarto-world-atlas TopoJSON dataset via fetch and converted to GeoJSON with topojson.feature. The React-based rendering uses a small state machine to handle asynchronous data loading, then calls the map function to draw paths into an SVG.

AI-generated description
MIT Licensed