Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8 Country

Public visualization

Viewing a saved revision (read-only)

0297ae3b04b14e128c50d2e6e10b77e0

Activity 8 Country

0 stars0🌍 Public
Aakshayvenishetty1437
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from Hello VizHub

This example displays a map of India rendered as a single SVG path, filled with the default black color on a white background. It loads geographic boundary data from the World Atlas TopoJSON dataset via `d3.json`, filters for the country feature using `topojson.feature`, and fits a `d3.geoMercator` projection to the geometry with `fitSize`. The resulting shape is drawn using `d3.geoPath`, demonstrating a minimal workflow for extracting and projecting a country outline in D3 v5.

AI-generated description

A demonstration of how to start using D3 version 6.