Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Map

Public visualization

D3 Map

0 stars2🌍 Public
SShubham Yadav
Last edited Dec 20, 2019
Created on Dec 20, 2019
Forked from D3 Map

This interactive world map displays countries in light green on a blue sphere, with hover states that turn a country red and show its name. The visualization uses a D3 geoPath with the geoNaturalEarth1 projection to render both the sphere and country outlines, while the topojson `feature` API converts the world-atlas GeoJSON data into drawable paths. A D3 zoom controller applies SVG transforms to the grouped elements for panning and zooming, and the map is rendered entirely as SVG elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed