{"version":"1.0","type":"rich","title":"Fork of map with legend","description":"This example displays a choropleth map of Indian states, with each state’s color encoding its area value through a sequential rainbow scale. The map is rendered as SVG using React and D3. The code loads TopoJSON data for Indian states, converts it to GeoJSON with `topojson.feature`, and projects it with `geoMercator` and `d3.geoPath`. A `d3.scaleSequential` with `d3.interpolateRainbow` assigns colors based on the `AREA_` property, while the legend is prepared but not rendered.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7aef4d3fd40942fcb9147e4fc04c7571?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}