Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
DDan Stockham
Last edited Dec 4, 2018
Created on Nov 28, 2018

A choropleth map of global economies colors each country according to its economic classification using a categorical color scale. The visualization uses D3 v5 with `d3.geoNaturalEarth1` for projection, `d3.geoPath` for rendering SVG paths, and TopoJSON data from the world-atlas package. Users can pan and zoom via `d3.zoom`, while hovering displays a tooltip with the country name and economic category. An ordinal color legend with circles and text labels explains the color mapping.

AI-generated description
MIT Licensed

Similar vizzes