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
Aaruna-rajeswari
Last edited Mar 8, 2023
Created on Mar 8, 2023

This choropleth map visualizes world population data by country income group, using color intensity to show distribution across regions. The visualization supports interactive zooming and panning, with hover effects highlighting individual countries. Built with D3 v5, it uses `geoNaturalEarth1` projection, `geoPath`, and `geoMercator` for map rendering, while `scaleOrdinal` with `schemeReds` maps income categories to colors. A dynamic color legend animates its circles using transitions. Country boundaries and income classifications come from the World Atlas TopoJSON dataset, with a hover tooltip displaying country names.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed