map ice 8
✓ Published1🌍 Public
This example visualizes the unemployment rate across Indian states by displaying a map of India generated from the World Atlas TopoJSON dataset and projecting it with `d3.geoMercator`’s `center` and `scale` settings. Colored circles, sized with a square-root scale, mark each state’s capital, with a tooltip showing the precise rate on hover. The map itself is drawn with `d3.geoPath` and SVG, while a legend explains the circle-size encoding. The data is a hard-coded 2025 sample in the source.
AI-generated descriptionMIT Licensed