Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

World Map

0 stars0🌍 Public
KKiran3295
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from ICE8 World Map

A world map rendered with D3.js and a Natural Earth projection displays country boundaries in light green over a blue sphere. The visualization uses `d3.geoNaturalEarth1` for the projection and `d3.geoPath` to generate SVG paths from TopoJSON data. Country shapes are drawn by fetching a remote world.json file via `d3.json`, then processing it with TopoJSON's `feature` method. The example demonstrates fundamental DOM manipulation by appending paths to SVG elements.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed