Skip to main content
100%

Activity 8 Country

✓ Published0🌍 Public
Aanith462@gmail.com
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Hello VizHub

This example displays a map of India rendered as an SVG path using D3. The code loads world-atlas TopoJSON data from a CDN and extracts the India geometry via `topojson.feature`. A `d3.geoMercator` projection with `fitSize` sets the map’s scale and position, and `d3.geoPath` generates the path. The visualization demonstrates D3’s geographic mapping capabilities with SVG output.

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