Skip to main content
100%

Fork of Fork of Derive India map - Open street

✓ Published0🌍 Public
Sskmriyaz0786@gmail.com
Last edited Sep 28, 2025
Created on Sep 28, 2025

This interactive map shows crime rates for Indian states and union territories, with a yellow-to-red gradient indicating rate severity per 100,000 people. Hovering over a region reveals the state name, crime rate, and capital city in an information panel and tooltip. The visualization combines Leaflet.js for map rendering with OpenStreetMap tiles, while D3.js (v6) uses a `geoTransform` projection to overlay state boundaries from a GeoJSON file onto the map. Crime data is loaded from a CSV file and mapped to a sequential color scale using `d3.scaleSequential`.

AI-generated description

India Crime Rate Map with Capital Information

This interactive map displays crime rates for Indian states and union territories, along with highlighting the capital city of each state.

Features

  • Interactive choropleth map of India showing crime rates
  • Color gradient from yellow (low crime) to red (high crime)
  • Hover over states to see:
    • State name
    • Crime rate per 100,000 population
    • Capital city information
  • Responsive tooltip with state data
  • Color legend for crime rate interpretation

Data Sources

Technologies Used

  • Leaflet.js for map rendering
  • D3.js for data visualization and GeoJSON handling
  • OpenStreetMap for base map tiles
  • CSV for data storage
MIT Licensed

Similar vizzes