Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of India Map

Public visualization

Fork of India Map

0 stars0🌍 Public
RRupeshGandham
Last edited Jul 22, 2022
Created on Jul 22, 2022
Forked from HTML Starter

This fork of an India map visualizes state-level boundaries with each state colored using a categorical color scale, and labels placed at state centroids. The code loads TopoJSON data from a remote source, converts it to GeoJSON using `topojson.feature`, and renders SVG paths via `d3.geoPath` with a `geoMercator` projection. State names are added as SVG text elements positioned with `pathGenerator.centroid`, and hover effects are styled in CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed