Skip to main content
Public

Share visualization

Loading preview…

Country Map of 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

Country Map of India

3
Kkranthireddyskr
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example renders a choropleth map of India using D3.js and TopoJSON. The visualization applies the Mercator projection through thegeoMercator and geoPath APIs to draw state boundaries, with each region colored using a categorical color scheme. The map loads geographic data from a remote TopoJSON file and renders it as SVG paths, with a hover effect that highlights individual states in pink. The interface displays the map within an SVG canvas, with the state names and colors derived from the dataset's properties.

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