Skip to main content
100%

ICE8_SarathL

✓ Published0🌍 Public
Ssarathlingareddy754@gmail.com
Last edited Nov 8, 2025
Created on Nov 8, 2025
Forked from HTML Starter

This example renders a world map with a blue sequential color scale encoding 2022 population estimates for 20 selected countries. The visualization uses D3 v7 with a Natural Earth projection and TopoJSON world-atlas data, applying `d3.geoPath` to draw country boundaries and `d3.scaleSequential` with `d3.interpolateBlues` for the choropleth fill. Hover tooltips, created via SVG `<title>` elements, display each country’s name and population, while unmatched countries appear gray. The code includes a name-correction mapping to align the dataset with TopoJSON’s country names.

AI-generated description
MIT Licensed

Similar vizzes