Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of India Map: ICE-8

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of India Map: ICE-8

0
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.

Comments

Sign in to join the discussion.

MIT Licensed