{"version":"1.0","type":"rich","title":"Reusable ScatterPlot with Symbols & Axis Labels + Idempotent","description":"This interactive scatter plot visualizes the Iris dataset by mapping flower measurements to x/y coordinates and using distinct symbol shapes for each variety. The chart cycles through the dataset’s measurement columns every two seconds, updating the x-axis mapping and axis titles. Built with D3’s `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom`, the reusable `scatterPlot` component supports configurable margins, symbol types, and labels. The code uses an idempotent approach with `selectAll` and `join` to update SVG marks, alongside CSS hover effects that turn points red.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2f7c2fe00f6f48ac9a2c953c69936056?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}