Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
TTheRedUnicorn
Last edited Jul 22, 2019
Created on Jul 18, 2019

This example renders a world map from TopoJSON data loaded from the World Atlas package, using D3’s `geoMercator` projection and `geoPath` to draw each country as an SVG path. The map features green-filled countries with black strokes, and the code demonstrates the basic data join pattern with `selectAll` and `enter().append()`.

AI-generated description

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

MIT Licensed

Similar vizzes