Skip to main content
100%

D3-9: World Map

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

Similar vizzes