Skip to main content
100%

World Map

✓ Published0🌍 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.

MIT Licensed

Similar vizzes