Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

68c3027d17f9499ebf3e75cdb4e2448d

World Map

0 stars2🌍 Public
TThomas Cormican
Last edited Jan 9, 2022
Created on Jan 9, 2022
Forked from Working with Time

This example displays a world map using the Natural Earth projection, rendered as SVG paths. It shows landmasses filled with teal, country interiors outlined with a lighter stroke, graticules, and the globe’s sphere. The visualization loads geographic data from the world-atlas TopoJSON file, converting it to GeoJSON with `topojson.feature` and `topojson.mesh`. The code uses `d3.geoNaturalEarth1` for projection, `d3.geoPath` for path generation, and `d3.geoGraticule` for grid lines within a React framework.

AI-generated description