ass 9
✓ Published0🌍 Public
An animated scatter plot of the Iris dataset cycles through four measurement pairs on the x-axis while keeping petal width on the y-axis, coloring points by species. Using D3's `csv` loader and `scaleLinear`, the visualization animates with `setInterval`, re-binding scales to chosen columns and redrawing axes via `axisBottom` and `axisLeft`. SVG circles are joined to data, with legend and labels added manually. The animation switches x-axis attributes among petal width, sepal width, petal length, and sepal length, updating the chart each second.
AI-generated descriptionMIT Licensed