Fork of Fork of Derive India map - Open street
✓ Published1🌍 Public
An interactive choropleth map visualizes crime rates per 100,000 population across Indian states and Union Territories, with hover tooltips, click-to-select, search filtering, and union territory toggling. Built with D3.js v7 for data processing and SVG rendering, it uses Leaflet for the base map, d3.geoPath for shape projection, and a d3.scaleSequential color scale. Crime data comes from a local CSV file, while state boundaries load from a GeoJSON URL.
AI-generated descriptionIndia Crime Rate Visualization
An interactive map visualization showing crime rates across Indian states and union territories.
Features
- Interactive Map: Hover and click on states to see detailed information
- Search Functionality: Search for specific states
- Filtering: Toggle display of Union Territories
- Statistics: View highest, lowest, and average crime rates
- Responsive Design: Works on desktop and mobile devices
- Modern UI: Clean, professional interface with smooth animations
Technology Stack
- D3.js: Data visualization and DOM manipulation
- Leaflet: Interactive mapping
- Vanilla JavaScript: Application logic (ES6+ classes)
- CSS3: Styling with flexbox and animations
Project Structure
MIT Licensed