Skip to main content
100%

India Map: ICE-8

✓ Published0🌍 Public
MMalempatiSaranya
Last edited Jul 8, 2022
Created on Jul 8, 2022
Forked from Hello VizHub

This example displays an interactive map of India with state capitals marked as colored circles, using a CSV dataset that includes city coordinates, population, and color values. It renders the geographic boundaries and city points as SVG elements, with D3 v5 and TopoJSON handling the map projection and path generation. The visualization uses `d3.csv` to load the data, `d3.geoPath` to draw the map, and `d3.select` to bind city positions to the SVG, with hover colors defined per city. The map is centered on India with a fixed 900x1500 viewport.

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