Skip to main content
100%

Fork of ICE8-network

✓ Published0🌍 Public
Ssaiprasadpilla937@gmail.com
Last edited Nov 10, 2025
Created on Nov 10, 2025
Forked from ICE8-network

This example displays a world map with sample population values shaded using a blue sequential color scale. It uses D3 v7’s `d3.geoNaturalEarth1` projection and `d3.geoPath` to render countries from TopoJSON data sourced from world-atlas’s `countries-110m.json`. Hovering over a shaded country reveals a tooltip with the population value; countries without data appear gray. The code applies a logarithmic domain to the color scale and relies on `topojson-client` for GeoJSON conversion, with SVG output.

AI-generated description
MIT Licensed

Similar vizzes