Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Making Maps - Country Map(ICE-8)

Public visualization

Making Maps - Country Map(ICE-8)

1 star0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed