Skip to main content
100%

Activity7

✓ Published0🌍 Public
Ssjannaikode@gmail.com
Last edited Apr 17, 2025
Created on Apr 4, 2025
Forked from Hello VizHub

This interactive scatter plot animates through different pairwise combinations of the Iris dataset’s four measurements, cycling the x-axis among petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Points are colored by species (setosa, versicolor, virginica) with a static legend and labeled axes. Built with D3.js (v6.7.0), it uses `scaleLinear`, `axisLeft`, and `axisBottom` for scales and axes, and `setInterval` to update the plot’s `xValue` assignment. The SVG rendering is generated from a CSV fetched via `d3.csv` and styled with CSS.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes