{"version":"1.0","type":"rich","title":"Idempotent Reusable Scatterplot 101","description":"This example demonstrates a reusable scatterplot component that cycles through different pairs of Iris flower measurements every second, using the D3 library's `scaleLinear`, `axisBottom`, and `axisLeft` APIs. The scatterplot function returns a closure that can be configured via setter methods for data, dimensions, margins, and accessor functions, then called on an SVG selection to render axes and circles. Data loading uses D3's `csv` parser, and animation is driven by `setInterval`, which updates the x and y accessors and re-invokes the plot on the SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f3a6c03a73d445539690cca8222a31b1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}