{"version":"1.0","type":"rich","title":"Reusable Scatter Plot using iris data set","description":"This example presents an animated scatter plot of the classic Iris dataset, cycling through four different feature combinations on the x-axis—petal width, sepal width, petal length, and sepal length—while the y-axis remains sepal length. Data points are colored by species (setosa, versicolor, virginica) via a reusable `scatterPlot` function built with D3 v6, which uses `scaleLinear` for axes and `axisLeft`/`axisBottom` for ticks. The animation is driven by a `setInterval` that updates the x-value accessor and re-renders SVG circles. Data is loaded as CSV from a gist using D3’s `csv` method, with legend rectangles and text labels added manually.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/59e12c126cc84ee286d7db32fc29f2fa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}