Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task9&10DV

Public visualization

Viewing a saved revision (read-only)

b0024acc9d344ab7a204677e5039330d

task9&10DV

0 stars0🌍 Public
Sshaiksajidali
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6

This animated scatter plot explores the Iris dataset by cycling through four feature combinations on the x-axis while keeping sepal length on the y-axis. It uses D3 v6 with a reusable `scatterPlot` module that employs `scaleLinear`, `axisLeft`, and `axisBottom` for responsive axes. The visualization displays color-coded points by species—skyblue for setosa, lightgreen for versicolor, and orange for virginica—with a legend, axis labels, and a title. The `setInterval` function rotates through petal width, sepal width, petal length, and sepal length, updating the visualization every few seconds as SVG circles are re-bound to the data.

AI-generated description