Activity 8 Country
✓ Published0🌍 Public
This example displays a geographic map of India rendered as an SVG using D3.js. It loads world country boundary data in TopoJSON format from the world-atlas package, extracts India via the `topojson.feature` function, and projects it with `d3.geoMercator`. The map is drawn using `d3.geoPath` with a fixed 960x500 viewport, demonstrating how to filter and visualize a single country from a global dataset.
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