Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8 - Avinash Chinta

Public visualization

Viewing a saved revision (read-only)

83d6f5ea00304b628069f7966dd4673a

ICE 8 - Avinash Chinta

0 stars1🌍 Public
Aavinashchinta99
Last edited Jul 10, 2022
Created on Jul 10, 2022

This example displays a choropleth map of India using a Mercator projection, with each state filled by a categorical color scale. The visualization is rendered as SVG paths generated through d3.geoPath, with hover interactions changing state colors to green. The code loads TopoJSON data from a GitHub gist, parses it using the topojson feature function, and applies d3.scaleOrdinal with schemeCategory10 for coloring. The map is built with React and D3 v5, featuring zoom support and a title header.

AI-generated description

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

See also React Starter.