Skip to main content
100%

Activity 8 Country

✓ Published0🌍 Public
Hharsha
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This example displays a static SVG map of India using a Mercator projection, with the country’s boundary rendered as a single path. It loads geographic data from a world-atlas TopoJSON file, extracts the feature for India, and projects it with `d3.geoMercator` and `d3.geoPath`. The visualization is generated client-side using D3 v5 and the `topojson-client` library, with the final SVG output sized to 960 by 500 pixels.

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