{"version":"1.0","type":"rich","title":"Animated Reusable D3 Scatter Plot","description":"This example demonstrates a reusable scatter plot that animates between different dimensions of the Iris dataset, cycling through petal width, sepal width, petal length, and sepal length every 3 seconds. The visualization uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, while `transition` and selection joins animate circle positions and axes smoothly. The code loads CSV data via `d3.csv` and implements a configurable chart function with setter methods for width, height, data, and margin.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9c9e758543e64d00a55a01fad7bb82a6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}