Skip to main content
Public

Share visualization

Loading preview…

Fork of Country Map for the India

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 Country Map for the India

0
Rrohinikotha
Last edited Apr 3, 2022
Created on Apr 3, 2022

This map shows the country of India with individual states rendered as colored regions, each assigned a distinct fill from a categorical color scale. A title reading "Country Map of India" appears above the visualization, and hovering over any state turns it red. The visualization uses D3 v5 with the `geoMercator` projection and `geoPath` to draw geographic boundaries from TopoJSON data loaded from a GitHub gist. The code also incorporates `scaleOrdinal` and `schemeCategory10` for color assignment, along with the `d3-geo-projection` library, all rendered as SVG elements.

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