Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

World Map

0 stars0🌍 Public
AAlex Gomes
Last edited Mar 2, 2022
Created on Mar 2, 2022

This world map visualizes global land masses and country boundaries using a natural Earth projection. The code renders geographic features as SVG paths, with a light blue sphere, graticules, and land areas colored via CSS. It uses React to manage state and render components, while D3’s `geoNaturalEarth1`, `geoPath`, and `geoGraticule` handle projection and path generation. TopoJSON data from the World Atlas (`countries-50m.json`) is loaded with `d3.json` and processed using `feature` and `mesh` to extract land polygons and interior borders.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed