Skip to main content
Public

Share visualization

Loading preview…

India Map

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

India Map

0
Kkakumanusreya
Last edited Apr 11, 2023
Created on Apr 11, 2023
Forked from India Map: ICE-8

This choropleth map visualizes the states of India, with each state filled by a distinct categorical color and labeled with its name. The map uses the Mercator projection, positioned and scaled to center the country. The example employs `d3.geoPath` to generate SVG paths from the provided GeoJSON data, leveraging a categorical color scale for fills. State name labels are placed at each region's centroid, and the entire rendering is implemented using D3 v5 within a React-based context.

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