Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World map

Public visualization

World map

0 stars0🌍 Public
BBenjamín Salas Sadler
Last edited Dec 6, 2022
Created on Dec 6, 2022
Forked from Line Chart

This example visualizes a world map with landmasses in teal, graticules in gray, and country interiors highlighted with a contrasting stroke. The map is rendered as an SVG using React components. The data is sourced from the world-atlas TopoJSON dataset, and the code utilizes d3's `geoNaturalEarth1` projection, `geoPath`, and `geoGraticule` to generate the geographic shapes and grid lines. The `topojson` library's `feature` and `mesh` functions extract the land and interior boundaries from the topology. The visualization also includes a sphere background to frame the map.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed