Skip to main content
100%

ICE 8 country map

✓ Published15🌍 Public
Ssaivinay143
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from Country Map

This choropleth displays a map of India, with each state filled using the `d3.scaleOrdinal` and `d3.schemeCategory10` color scheme. The map is rendered as SVG paths, generated via `d3.geoPath` and `d3.geoMercator` projection. Hovering over a state turns it orange, as defined by the `.country:hover` CSS rule. The geographic data itself comes from a TopoJSON file fetched from a GitHub gist, which is parsed using the `feature` function from the `topojson` library.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes