Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
LLaily Sarvarian
Last edited Oct 22, 2019
Created on Oct 22, 2019

This choropleth map displays world countries as filled paths using a Mercator projection. The visualization loads geographic data from the world-atlas TopoJSON file and converts it to GeoJSON with the `feature` function from topojson. Each country path is rendered through D3’s `geoPath` and `geoMercator` APIs, with CSS styling applying a green fill and light stroke. The map is drawn as static SVG elements within a 960x500 viewport.

AI-generated description

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

MIT Licensed

Similar vizzes