{"version":"1.0","type":"rich","title":"Dynamic D3 scatterplot","description":"This dynamic scatterplot animates through different variable combinations from the Iris dataset, cycling every two seconds between four attribute pairings. Each transition re-maps the x-axis to a new column while keeping sepal length on the y-axis, with the circles smoothly repositioning to reflect the changing correlations. Built with D3 v7, the visualization uses the `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` functions from the `d3` import, along with a custom scatterPlot module that handles the SVG rendering via the `.join()` pattern for efficient updates. The animation is driven by `setInterval` in the main script, which alternates the x value function and re-invokes the plot.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2eb29f80a1f5495a9cb4687b243b5603?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}