Skip to main content
100%

Activity 8 Country

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Hello VizHub

This example displays a map of India rendered as an SVG path, centered using a Mercator projection fitted to the country’s boundaries. It loads world country geometries from the world-atlas TopoJSON dataset, filters for India, and draws the shape with d3.geoPath. The code demonstrates importing D3 v5 via a CDN script tag and using topojson-client to extract features.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes