Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

ice 8_country

Public visualization

ice 8_country

0 stars0๐ŸŒ Public
Kkanaparthieshitha@gmail.com
Last edited Apr 12, 2026
Created on Apr 12, 2026
Forked from ice 8

This example shows a choropleth world map of population by country, with darker blue shades indicating higher values and a gradient legend on the right. It uses d3.geoNaturalEarth1 and d3.geoPath to project and render country boundaries from a TopoJSON world-atlas dataset. Population values are loaded via d3.csv from a GitHub gist and mapped to a d3.scaleSequential with the interpolateBlues interpolator. Labels display three-letter country abbreviations, while d3.axisRight and a linearGradient define the legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed