Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8 country map

Public visualization

Viewing a saved revision (read-only)

1dcf0608b6544e329c4794e95ed4fd34

ICE 8 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, coloring each state with a categorical color scale. The map uses the Mercator projection to render geographic boundaries from a TopoJSON file. The visualization is built with React, D3 v5, and the `topojson` library, which parse the data and generate SVG paths. The `d3.geoPath` and `d3.geoMercator` functions handle projection and rendering, while a CSS hover effect highlights individual states in yellow.

AI-generated description

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

See also React Starter.