🌍 Public
Viewing a saved revision (read-only)
96b29353d6c34d3a8d1dcbd609eab139
ICE-7 (Reusable D3 Scatter Plot)
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 description