Skip to main content
100%

Cheap Tricks for Interaction

✓ Published1🌍 Public
LLeoBergqvist
Last edited Feb 21, 2020
Created on Feb 21, 2020

A world map colored by economy type uses D3 v5's geoNaturalEarth1 projection and d3.geoPath to render country boundaries from TopoJSON data. Hovering highlights countries in red via CSS, while a reusable colorLegend function displays a clickable legend with colored circles. The map supports pan and zoom through d3.zoom, with the visualization powered by SVG rendering and a sequential spectral color scale.

AI-generated description
MIT Licensed

Similar vizzes