{"version":"1.0","type":"rich","title":"Reusable D3 Scatter Plot - TN","description":"This reusable scatter plot visualizes the Iris Dataset, mapping petal width against sepal length with animated transitions. It cycles through four attribute combinations every two seconds using `setInterval`. The chart is built with D3 v6, employing `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and data joins via `selection.join`. SVG circles update positions smoothly, while axes persist through idempotent re-rendering. The code follows a reusable chart pattern with setters for width, height, data, and margin, as demonstrated in Bostock’s \"Towards Reusable Charts.\"","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/149ee4ffe3cc42d0981deac739fd1848?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}