Skip to main content
100%

DV ICE-8 Country Map

✓ Published0🌍 Public
MMounikadontireddy
Last edited Apr 13, 2023
Created on Apr 12, 2023

This example renders a choropleth-style map of India’s states, colored via `d3.scaleOrdinal` with `schemeCategory10`. It uses `d3.json` to load a TopoJSON file, `topojson.feature` to extract state polygons, and `d3.geoPath` with a `geoMercator` projection to draw each state as an SVG path. State names are placed at path centroids. Hovering highlights a state in green via CSS, while the background uses a linear gradient. Data comes from a GitHub-hosted TopoJSON dataset.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes