Skip to main content
100%

World Map

✓ Published2🌍 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
MIT Licensed

Similar vizzes