Skip to main content
100%

ICE 8 1Q Sharanya

✓ Published0🌍 Public
Cchengalvasharanya@gmail.com
Last edited Oct 31, 2025
Created on Oct 31, 2025
Forked from D3 Starter

This visualization shows a world map displaying population by country, colored with a pink-to-red sequential scale where darker shades indicate higher population numbers. The map uses a Natural Earth projection and includes interactive tooltips that reveal each country's name and population on hover. Built with D3 v7, it loads GeoJSON country boundaries from the world-atlas package and population data from a CSV file hosted on GitHub. The code employs `d3.geoNaturalEarth1()` for projection, `d3.geoPath` for rendering paths, and `d3.scaleSequential` with `interpolatePuRd` for the color scale. Countries lacking population data appear in a light pink fill, and a pink outline marks the Earth's boundary.

AI-generated description
MIT Licensed

Similar vizzes