Skip to main content
100%

task9

✓ Published0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

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 description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes