Skip to main content
100%

India map

✓ Published0🌍 Public
66264kusuma@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from HTML Starter

This visualization displays a choropleth map of India, using a Mercator projection to render the country’s geographic boundaries as SVG paths. The map is colored using a categorical color scale (`d3.scaleOrdinal` with `schemeCategory10`), and individual regions change to a pink hover color via CSS. The geographic data is loaded as a TopoJSON file from a GitHub gist, parsed with the `topojson` library’s `feature` function, and drawn using `d3.geoPath`. The map is built with React, with an interactive header and styled via an external stylesheet.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes