Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed