Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Course Code Along - Choropleth Map

Public visualization

Fork of D3 Course Code Along - Choropleth Map

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed