Skip to main content
100%

ICE_8

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

This example displays a world choropleth map, coloring each country according to randomly generated sample data values. Countries appear in varying shades of blue, with hovering over a country turning it orange and revealing its specific value in a tooltip. The map uses D3 v7 with a natural Earth projection via `d3.geoNaturalEarth1` and renders geographic paths with `d3.geoPath`. It loads TopoJSON country boundaries from the world-atlas package, converts them to GeoJSON, and applies a sequential color scale with `d3.scaleSequential` and `d3.interpolateBlues`.

AI-generated description
MIT Licensed

Similar vizzes