{"version":"1.0","type":"rich","title":"Reusable D3 Scatterplot Idempotence","description":"This example demonstrates a reusable D3 scatterplot that cycles through different Iris flower measurements every two seconds, smoothly updating the x-axis mapping while keeping the y-axis fixed. The scatterPlot function exports a configurable closure with getter-setter methods for width, height, data, scales, and margins, enabling idempotent re-invocation with new xValue functions. Using D3’s `selectAll` with `join` for circles and axes, the SVG transitions animate between petal width, sepal width, petal length, and sepal length coordinates, with the data loaded from a CSV and rendered as animated circles.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1596595165554a329d31b97cc0b7058d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}