Skip to main content
100%

Prasanth ICE - 8 - Map

✓ Published0🌍 Public
PPrasanth
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from ICE - 8 - Map

This map visualization displays the administrative regions of India, with each state filled using a categorical color scale and labeled with its name. The geographic data is loaded as a TopoJSON file from a GitHub gist, and the map is rendered using D3 v5’s `geoPath` with a `geoMercator` projection. The code builds SVG paths from the TopoJSON features using `topojson.feature`, applies colors via `scaleOrdinal` and `schemeCategory10`, and places text labels at each state’s centroid. The visualization highlights how D3’s geo and selection APIs combine to create a choropleth-style administrative map.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes