Skip to main content
100%

Activity 8 Country

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from HTML Starter

This example displays a standalone SVG map of India, rendered using a Mercator projection fitted to the country’s boundaries. It loads world country geometries from the `world-atlas` TopoJSON dataset via `d3.json`, extracts the India feature with `topojson.feature`, and draws it using `d3.geoPath`. The map is centered using `projection.fitSize` and appended to the page as a single path element.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes