Skip to main content
Public

Share visualization

Loading preview…

ICE-8: Fork of Indian map with D3.js

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

ICE-8: Fork of Indian map with D3.js

2
Mmanasanimmagadda13
Last edited Apr 4, 2022
Created on Apr 3, 2022
Forked from Swedish map

This visualization displays a map of India with individual states and their borders. Using D3.js version 5 and React, it applies a geoMercator projection via d3.geoPath to render the geographic features as SVG paths. The code loads TopoJSON data from a remote URL, using topojson.feature and topojson.mesh to extract state polygons and interiors. State fill is cyan with gray borders, while internal boundaries appear teal. The map fits within a 960 by 500 pixel viewport using projection.fitExtent.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed