{"version":"1.0","type":"rich","title":"Fork of map with legend","description":"This example renders a choropleth map of Indian states, coloring each state by its `AREA_` attribute using a sequential rainbow color scale. The map is drawn as SVG paths via `d3.geoPath` with a `d3.geoMercator` projection fit to the window size. State boundaries come from a TopoJSON file loaded with `d3.json` and converted to GeoJSON using `topojson.feature`. React manages the component lifecycle, while `d3.scaleSequential` maps data extents to colors; a separate SVG element is prepared for a legend, though the legend itself is not implemented in the visible code.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/07a0c5945a52402586f604edaebbaf66?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}