🌍 Public
Viewing a saved revision (read-only)
4e5e15bb8ce9418aaab8bbc116a4a435
Country
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.