Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

World Map

0 stars0🌍 Public
Hharika-1929
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from ICE8 World Map

This example displays a world map rendered as an SVG using D3.js v5. It uses `d3.geoNaturalEarth1` for the projection and `d3.geoPath` to draw country boundaries from a TopoJSON file loaded via `topojson.feature`. The map includes a blue sphere outline and green country shapes with strokes. The code demonstrates fundamental data binding and path generation for geographic visualization.

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