Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Aakshayvenishetty1437
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from Hello VizHub

This animated scatter plot of the Iris dataset cycles through four different feature combinations on the x-axis—petal width, sepal width, petal length, and sepal length—while the y-axis remains fixed on sepal length. Points are colored by species (setosa, versicolor, virginica) and switch between elliptical and circular shapes. Built with D3.js (`d3.csv`, `d3.scaleLinear`, `d3.axis`), it updates the plot every few seconds using `setInterval`, re-rendering axes and labels dynamically in SVG. The visualization appears to load data from a GitHub-hosted CSV and includes a custom legend with species names and colors.

AI-generated description
MIT Licensed

Similar vizzes