Skip to main content
100%

ass 9

✓ Published0🌍 Public
Rrahulsiddartha14@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes