Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Map Simple

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed