Skip to main content
100%

Country

✓ Published0🌍 Public
MManoj Kolluri
Last edited Jul 17, 2022
Created on Jul 17, 2022
Forked from HTML Starter

This example displays a map of India rendered in red on a blank SVG canvas. Using the D3.js v4 library, it loads GeoJSON country data, filters the features to isolate India, and projects it with `d3.geoMercator` and `d3.geoPath`. The map is centered using specific latitude and longitude coordinates and scaled to fit an 840x500 pixel SVG, with data sourced from a GitHub gist.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes