Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data visualization ICE-8 Country map

Public visualization

Data visualization ICE-8 Country map

0 stars0🌍 Public
Vvamshisoletii
Last edited Mar 30, 2023
Created on Mar 30, 2023

This visualization renders a choropleth map of Indian states, colored by category using a D3 ordinal color scale. It loads TopoJSON data from a remote source and converts it to GeoJSON with the TopoJSON `feature` API. The map is projected using `geoMercator` and drawn as SVG paths via `d3.geoPath`. Each state is labeled with its name placed at the path’s centroid, and state boundaries are highlighted with a yellow stroke and semi-transparent opacity.

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