{"version":"1.0","type":"rich","title":"Reusable D3 Scatterplot","description":"This reusable D3 scatterplot visualizes the Iris dataset, cycling through four flower measurements every two seconds to show different variable relationships. Built with D3 v7, it uses a custom scatterPlot function with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles and axes. The animation loop calls `plot.xValue()` to dynamically swap the x-axis variable, demonstrating the reusable pattern’s flexibility. Data loads from a CSV via `d3.csv`, with coordinates recalculated on each update.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5ddb052b75a143faaee8cebafb91a680?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}