Skip to main content
100%

Shut up!

✓ Published0🌍 Public
Jjustprophet
Last edited Dec 7, 2018
Created on Dec 4, 2018

This example visualizes a world map by rendering country boundaries as SVG paths. It uses D3’s `geoMercator` projection and `geoPath` generator to convert TopoJSON data from the world-atlas package into geographic shapes. The code fetches the 110m resolution dataset via `d3.json`, extracts country features with TopoJSON’s `feature` method, and appends `path` elements to the SVG container. The result is a static, interactive-free map showing continents and country outlines.

AI-generated description

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

MIT Licensed

Similar vizzes