{"version":"1.0","type":"rich","title":"Scatterplot with color and legend","description":"This interactive scatterplot displays the Iris dataset, with dropdown menus letting users choose which sepal or petal measurements appear on the x- and y-axes. Points are colored by species via a categorical color scale, with a legend showing the three iris varieties. Built with React and D3 v6, it uses `scaleLinear` for axes, `scaleOrdinal` for colors, and `csv` to load data from a GitHub gist. SVG rendering handles marks, axes, and legend, while the react-dropdown library provides the selection controls.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/07ffe7dee2334210a0a45e1c91f97960?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}