Skip to main content
100%

ICE 8 country map

✓ Published0🌍 Public
Mmanojgne
Last edited Jul 10, 2022
Created on Jul 9, 2022
Forked from HTML Starter

This interactive SVG map visualizes the country of India using a Mercator projection, with each region colored according to a categorical color scale. Built with React and D3 v5, the map loads TopoJSON geographic data from a GitHub Gist and renders paths via `d3.geoPath` and `d3.geoMercator`. The code assigns fill colors using `d3.scaleOrdinal` with the `schemeCategory10` palette, and region names appear as tooltips through appended `title` elements. The styling applies a coral fill with black strokes via CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes