Activity 8 Country
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed