🌍 Public
Viewing a saved revision (read-only)
b374d06d964447d5bd6d4b2c2ee652a6
Map- 1
This example shows a choropleth map of India displaying the rate of missing children per 100,000 population for each state in 2021, using a yellow-orange-red color scale to indicate intensity. Hovering over a state reveals a tooltip with its name and data value. The visualization uses the D3.js `geoMercator` projection, `geoPath` for rendering, and `scaleSequential` for coloring, with state interactivity handled through `.on("mouseover")` events. Geographic boundaries come from an external GeoJSON source, while crime statistics are hardcoded in a JavaScript array.
AI-generated descriptionReact Starter code.