Skip to main content
100%

Fork of D3 Course Code Along - Choropleth Map

✓ Published0🌍 Public
MMohamedSulaiman8
Last edited Sep 1, 2022
Created on Sep 1, 2022

This visualization presents a world map using a discrete color scale to categorize countries by income group, with a legend and hover effects identifying countries. The map is generated with `d3.geoPath` and a `geoNaturalEarth1` projection, converting TopoJSON world atlas data. Animated color transitions in the legend are handled via `.transition().duration(1000)`. The underlying population data is loaded from a TSV file, while the map geometry comes from the world-atlas package.

AI-generated description
MIT Licensed

Similar vizzes