Activity1
This animated scatter plot visualizes the classic Iris dataset, cycling through different flower measurements on the x-axis—petal width, sepal width, petal length, and sepal length—while keeping petal width on the y-axis. It uses D3’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, and a `setInterval` loop to update the plot’s x-value accessor. Data is loaded via `d3.csv` from a GitHub gist, with points colored by species (setosa, versicolor, virginica). The visualization includes a custom legend and title, demonstrating reusable chart components with ES6 module imports.