Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
KKirsten Lund
Last edited Feb 15, 2021
Created on Feb 15, 2021
Forked from Choropleth Map

A world map displays countries colored by their economy category using an ordinal color scale. The visualization loads geographic data from the World Atlas TopoJSON and TSV files, then renders each country as an SVG path using `d3.geoPath` with a natural Earth projection. Users can zoom and pan via the `zoom` event transform, while a color legend created with custom SVG shapes shows the category-to-color mapping. Hovering over any country highlights it in red and reveals its name and economy class in a tooltip.

AI-generated description
<!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/OoZ0LWD9KUs?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->
MIT Licensed

Similar vizzes