Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

ICE 8 - Avinash Chinta

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed