Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US Map

Public visualization

US Map

0 stars0🌍 Public
KKusumaKumariDama@my.unt.edu
Last edited Mar 29, 2024
Created on Mar 29, 2024
Forked from India Map ICE-8

This map shows the subdivisions of India, rendered as colored polygons with state names labeled at their centroids. Built with D3 v5 and TopoJSON, it loads geographical data from a remote TopoJSON file, converts it to GeoJSON using the `topojson.feature` function, and projects it with `d3.geoMercator`. An ordinal color scale colors each state, while state boundaries appear as white strokes. Hovering turns a state yellow, and a simple tooltip displays the state name. The rendering uses SVG paths and text elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed