ICE-7 (Reusable D3 Scatter Plot)
✓ Published1🌍 Public
This example presents an animated scatter plot of the Iris dataset using a reusable D3 module. It shows how petal width and sepal length correlate across iris species, with points colored green, blue, or black by species. The visualization cycles through different measurement pairs on the x-axis every two seconds using `setInterval`. It leverages D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `selectAll`, rendering as SVG circles with radii set by the `.radius()` method.
AI-generated descriptionMIT Licensed