Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8

Public visualization

Viewing a saved revision (read-only)

c7ebcf47ccc94bb98be3c3cc52ec9441

ICE 8

0 stars0🌍 Public
Ppavan0828
Last edited Jul 10, 2022
Created on Jul 10, 2022

This example presents a choropleth map of India, rendered using the Mercator projection via `d3.geoMercator` and drawn with SVG paths. Each state is filled with a color from `scaleOrdinal(schemeCategory10)`, and hovering over a region turns it brown. The visualization loads TopoJSON data from a GitHub gist, parses it with the `topojson.feature` method, and projects the geometry using `d3.geoPath`. An explicit title element is added per state based on the data’s `interpolateRainbow` property, though no such property exists in the dataset.

AI-generated description

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

See also React Starter.