Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

country map

Public visualization

Viewing a saved revision (read-only)

ac3c68b67ae04053b0ba8c7e55ddca34

country map

0 stars1🌍 Public
Nnagarjuna1968
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from ICE 8 country map

This example displays a choropleth map of India, rendering each state as a distinct colored path using geographic features loaded from a GitHub gist. The visualization employs a Mercator projection via `d3.geoMercator` and converts TopoJSON data to GeoJSON features with the `topojson.feature` function. Each state is drawn as an SVG path generated by `d3.geoPath`, with fill colors assigned from `d3.scaleOrdinal` and `schemeCategory10`. The map includes a title and uses hover styling, with all rendering handled through React and D3 v5.

AI-generated description

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

See also React Starter.