Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment2_Task6_India_districts_States

Public visualization

Viewing a saved revision (read-only)

fabf8b251bdf4dd0a0dba07253a3f2b8

Assignment2_Task6_India_districts_States

1 star0🌍 Public
Ssreekarthanda@gmail.com
Last edited Jul 22, 2023
Created on Jul 21, 2023
Forked from Hello VizHub

This example presents an interactive choropleth of India’s districts and states, colored by state and overlaid with major city markers. A Mercator projection is used with `d3.geoPath` to render TopoJSON boundaries for districts and states, while a color scale assigns hues per state. Users can zoom and pan the map via `d3.zoom`, and hovering over a district shows its name and state in a tooltip. District paths are semi-transparent, with state outlines emphasized in white.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.