Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

Viewing a saved revision (read-only)

6e33c4e582dd4fcaa3882e1ee5ffe99b

World Map

0 stars0🌍 Public
RRahulChaitu999
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from ICE-8 : World Map

This example shows a natural Earth projection of the world map, with each country rendered as a black shape with semi-transparent white borders against a red sphere and sky-blue background. The code uses D3 v5’s `d3.geoNaturalEarth1` for the projection, `d3.geoPath` to generate SVG paths, and `topojson.feature` to convert TopoJSON data from a GitHub gist into GeoJSON. A single static SVG view displays all countries without interaction.

AI-generated description

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