Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-8-Religions in india-Prathima

Public visualization

Viewing a saved revision (read-only)

d1745d4f36e646beb098f82a167b2ef7

ICE-8-Religions in india-Prathima

0 stars0🌍 Public
Ppilliprathimarani@my.unt.edu
Last edited Apr 2, 2024
Created on Apr 2, 2024

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 description