Skip to main content
100%

Activity 8 Country

✓ Published0🌍 Public
VVenkat-Sumith-Thota
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

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 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