🌍 Public
Viewing a saved revision (read-only)
8eaca83c3aad4c9bba1575982e7cc40b
Making Maps - Country Map(ICE-8)
This example renders a choropleth-style map of India using SVG. The code loads GeoJSON data containing Indian state boundaries, converts it with `topojson.feature`, and projects it using `d3.geoMercator` with `d3.geoPath`. States are drawn as stroked paths, with colors assigned via `d3.scaleOrdinal` and `schemeCategory10`. A `d3.zoom` handler enables panning and zooming on the map.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.