Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Ssaishruthik2361@gmail.com
Last edited Nov 2, 2024
Created on Nov 2, 2024
Forked from Hello VizHub

This animated scatterplot cycles through the Iris dataset’s four measurements on the x-axis while keeping petal width on the y-axis. Colored circles distinguish the three species (setosa, versicolor, and virginica). The visualization is built with D3 v6, using `scaleLinear`, `axisBottom`, and `axisLeft` within a custom `scatterPlot` function. A `setInterval` triggers updates, re-rendering axes and labels every few seconds. SVG circle elements are colored via a switch statement, with legends and axis titles added dynamically, sourced from the CSV URL.

AI-generated description
MIT Licensed

Similar vizzes