task9
✓ Published0🌍 Public
This animated scatter plot explores the Iris dataset, cycling through different combinations of sepal and petal measurements on the x-axis while keeping petal width on the y-axis. Using D3.js and its `scaleLinear`, `axisLeft`, and `axisBottom` utilities, the visualization encodes species via color (skyblue, lightgreen, orange) and adds an animated legend. The SVG rendering updates at intervals, shifting the x-axis attribute and redrawing axis labels. The static y-axis label remains fixed, while the title and legend are drawn directly onto the SVG canvas.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed