🌍 Public
Viewing a saved revision (read-only)
15a9d12eaa23403c9720aeeb4f65f0df
India Map
This choropleth map visualizes the states of India, with each state filled by a distinct categorical color and labeled with its name. The map uses the Mercator projection, positioned and scaled to center the country. The example employs `d3.geoPath` to generate SVG paths from the provided GeoJSON data, leveraging a categorical color scale for fills. State name labels are placed at each region's centroid, and the entire rendering is implemented using D3 v5 within a React-based context.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.