ICE-8-Religions in india-Prathima
✓ Published0🌍 Public
This interactive choropleth map of India displays the number of religions practiced in each state, using a category-10 color palette. Clicking a state triggers an alert showing the state name, count, and specific religions. It loads TopoJSON data from a remote Gist, converts it to GeoJSON via `topojson.feature`, and renders paths with `d3.geoMercator` and `d3.geoPath`. The code also labels each state with `d3.select` and `text` elements at centroids.
AI-generated descriptionMIT Licensed