{"version":"1.0","type":"rich","title":"Interactive Color Legend","description":"This interactive scatterplot of the Iris dataset uses an ordinal color scale to encode species, with a color legend that filters the displayed points on hover. Built with React and D3 v5, it leverages `scaleOrdinal`, `scaleLinear`, and `extent` to map sepal and petal measurements, while the legend’s `onMouseEnter` handler triggers state updates via `useState`. Axes are rendered using custom `AxisBottom` and `AxisLeft` components, and SVG circles represent data points.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/78715049f56045fbb1d4339b73435e31?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}