Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of India Map: ICE-8

Public visualization

Viewing a saved revision (read-only)

f1106f9fd4d4466c9e47a1637c92a8a2

Fork of Fork of India Map: ICE-8

0 stars0🌍 Public
Tttummala17
Last edited Jul 9, 2022
Created on Jul 9, 2022

This visualization displays a map of Indian administrative regions, colored with a categorical palette from D3’s `schemeCategory10` and labeled with each state’s name at its centroid. The code uses `geoMercator` with custom translation and scale for projection, `geoPath` to generate SVG paths, and TopoJSON’s `feature` to extract geometries from a remote Argentine COVID-19 dataset mislabeled as Indian regions. It loads data asynchronously via `d3.json`, then renders the map and text labels into an SVG. The styling sets black state borders with a semi-transparent stroke.

AI-generated description

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

See also React Starter.