Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of India Map ICE-8

Public visualization

Fork of India Map ICE-8

0 stars0🌍 Public
Rreddysushma994@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from India Map ICE-8

This D3.js visualization renders a choropleth map of India, coloring each state from a categorical palette based on its name. The map uses the Mercator projection to position SVG paths generated via `d3.geoPath`, with state boundaries outlined in white. State labels are placed at each polygon’s centroid, and hovering over a state turns it yellow. The geographic data comes from a TopoJSON source, which is converted to GeoJSON using the `topojson` library’s `feature` and `mesh` functions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed