Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment-2 Task-1

Public visualization

Viewing a saved revision (read-only)

2da5c008ef4f42ddb660012235603c27

Assignment-2 Task-1

0 stars0🌍 Public
Vvullihanumantharao@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, cycling through four different attribute pairs on the x-axis every few seconds while the y-axis remains fixed. Points are colored by species (setosa, versicolor, virginica) with a manually drawn legend. The visualization is built using D3 v6, leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` within a reusable `scatterPlot` function. Animated transitions are driven by `setInterval`, updating the x-axis mapping and re-rendering SVG circles, axes, and text labels dynamically.

AI-generated description

A demonstration of reusable scatter plot.