{"version":"1.0","type":"rich","title":"Scatterplot with Color Legend","description":"This scatterplot visualizes the Iris flower dataset, plotting sepal length against sepal width with points colored by species. A color legend maps species names to distinct hues, while axis labels and tick marks provide scale context. Built with React and D3 v7, the example uses `scaleLinear` for positioning, `scaleOrdinal` for categorical colors, and custom reusable components like `AxisBottom`, `AxisLeft`, and `ColorLegend` to render SVG elements. Data is loaded asynchronously via `csv` from a remote URL.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7d17713b75984705a860ebae4736d925?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}