Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8 Task 5-2 Country

Public visualization

Activity 8 Task 5-2 Country

0 stars0🌍 Public
VVishnu Sudireddy
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from D3 Starter

This example displays a map of India rendered as an SVG path, centered within a 960-by-500 viewport. It uses D3 version 5 and TopoJSON to load the world-atlas dataset, extract the country’s geometry by name, and project it with a Mercator projection fitted to the country’s bounds. The `d3.geoPath` generator then draws the boundary, with no additional styling or interactive elements.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed