Skip to main content
100%

Fork of HTML Starter

✓ Published1🌍 Public
Kkarthikpavan1198@gmail.com
Last edited Apr 12, 2026
Created on Apr 12, 2026
Forked from HTML Starter

This choropleth map visualizes sample population scores by country, using a blue-green color scale to represent score ranges. It loads world country boundaries from a TopoJSON file and joins them with CSV data containing country IDs and population scores. The visualization is built with D3.js v7, using `d3.geoNaturalEarth1` for the projection, `d3.geoPath` to generate SVG paths, and `d3.scaleThreshold` for the color bins. Country polygons are rendered as SVG elements with hover tooltips showing the country name and score, accompanied by a static legend.

AI-generated description
MIT Licensed

Similar vizzes