Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_iris

Public visualization

Viewing a saved revision (read-only)

6f679bac3e924ffbbd4d0874377ce3c5

Activity7_iris

0 stars0🌍 Public
MMili Patel
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity7_iris

This animated scatter plot cycles through different Iris dataset measurements, showing how petal width, sepal width, petal length, and sepal length correlate across species. The visualization dynamically updates the x-axis on a timer, while the y-axis remains fixed on sepal length. Built with D3.js, it uses `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, and an SVG `setInterval` loop to animate transitions. Species are color-coded via a custom marker function, and the chart includes a legend and dynamic axis labels.

AI-generated description