Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3-9: World Map

Public visualization

Viewing a saved revision (read-only)

2e5c949696d34d06bef4bce06168ce26

D3-9: World Map

0 stars0🌍 Public
Bbkopruluoglu3
Last edited Sep 29, 2023
Created on Jan 4, 2023

This example presents a world map using an equal-area Natural Earth projection. The visualization renders a blue sphere and light green country polygons as SVG paths. It loads TopoJSON data from the world-atlas package, converting it to GeoJSON with the topojson `feature` function. D3’s `geoPath` and `geoNaturalEarth1` projection generate the map geometry, with CSS styling applied to distinguish the sphere and country boundaries.

AI-generated description