Skip to main content
Public

Share visualization

Loading preview…

Fork of Activity 8 Country

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 Activity 8 Country

0
UUmarani Vemula
Last edited Jul 8, 2023
Created on Jul 8, 2023
Forked from Activity 8 Country

This example displays a single SVG map of India generated from TopoJSON country data. The visualization uses D3 version 5 to fetch world atlas geospatial data via `d3.json`, extracts India's geometry through the `topojson-client` library, and renders the country boundary using the `d3.geoMercator` projection with `d3.geoPath`. The map is drawn as a path element on a 960 by 500 pixel SVG canvas.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed