Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Salem Map

Public visualization

Salem Map

3 stars3๐ŸŒ Public
Vvigneswaran009
Last edited May 14, 2021
Created on May 14, 2021

This example displays a map of Salem, India, rendered as SVG paths using the React framework and D3's `geoMercator` projection and `geoPath` function. The visualization loads geographic data from a TopoJSON file hosted on GitHub, converting it to GeoJSON with the `feature` method from topojson. The map is drawn with a green stroke color, and the code includes a loading state while the data is fetched asynchronously.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed