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
NNavak94
Last edited Mar 15, 2023
Created on Mar 15, 2023
Forked from Simple World Map

This example displays a world map using the Natural Earth projection, with country boundaries, a graticule grid, and an outline. It loads GeoJSON data from the visionscarto world-atlas via `fetch` and converts it using `topojson.feature`. The map is rendered with `d3.geoPath` and `d3.geoNaturalEarth1`, drawing paths for each country, the graticule, and the map outline. The visualization uses a React-style state management loop where data loading is triggered lazily, updating the SVG when the fetched data becomes available.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed