Skip to main content
100%

Assignment2_Task6_India_districts_States

✓ Published0🌍 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.
MIT Licensed

Similar vizzes