Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 8_country

Public visualization

Viewing a saved revision (read-only)

9256cdc17cfc4c2794063aec37c5d548

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