Act7
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, cycling through four feature pairs (petal width, sepal width, petal length, and sepal length) on the x-axis every few seconds. It colors each species—setosa, versicolor, and virginica—with distinct markers and includes axis labels, a legend, and a title. The visualization uses D3.js (v6) with the `csv` parser, `scaleLinear`, `axisLeft`, and `axisBottom` APIs, rendering as an SVG with a repeating `setInterval` that updates the plot’s x-scale and data mapping.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed