Skip to main content
100%

Making Maps - Country Map(ICE-8)

✓ Published0🌍 Public
Aav.dj.2000@gmail.com
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from HTML Starter

This example renders a choropleth-style map of India using SVG. The code loads GeoJSON data containing Indian state boundaries, converts it with `topojson.feature`, and projects it using `d3.geoMercator` with `d3.geoPath`. States are drawn as stroked paths, with colors assigned via `d3.scaleOrdinal` and `schemeCategory10`. A `d3.zoom` handler enables panning and zooming on the map.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes