Skip to main content
100%

Fork of Fork of India Map: ICE-8

✓ Published0🌍 Public
JJustin Roberts
Last edited Mar 25, 2023
Created on Mar 25, 2023

This visualization renders a choropleth map of Indian states, using a Mercator projection to display each administrative region with a distinct color from the `d3.scaleOrdinal` categorical scheme. The code loads GeoJSON state boundaries via the `d3.json` function and generates SVG paths with `d3.geoPath`, also placing state name labels at each polygon's centroid. The map is styled with a black stroke between states and is built using D3 v5.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes