Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Map of India-Part I

Public visualization

Fork of Map of India-Part I

0 stars1🌍 Public
NNita
Last edited May 18, 2024
Created on May 18, 2024

This choropleth map of India displays district-level crime rates, with districts shaded on a blue sequential scale and hover tooltips revealing the state name and crime rate. The visualization loads district boundaries from a TopoJSON source and crime statistics from a CSV file, then projects them using `d3.geoMercator` and `d3.geoPath`. District fill colors are assigned via `d3.scaleSequential` with `d3.interpolateBlues`, and `topojson.feature` extracts the geographic shapes for rendering as SVG paths.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed