🌍 Public
Fork of Reusable Scatter plot Activity 8
This interactive scatterplot animates the Iris dataset, cycling through four flower measurements on the x-axis while plotting sepal length on the y-axis. Built with D3 v7, it uses `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft` to render axes, and `setInterval` to update the chart every few seconds. Each circle’s fill color encodes species (setosa, versicolor, virginica), with a legend and axis labels included. Data is loaded via `d3.csv` from a remote gist.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed
Comments
Sign in to join the discussion.