draft
✓ Published0🌍 Public
A scatter plot animates through the Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds while keeping sepal length on the y-axis. Built with D3 v6, the reusable `scatterPlot` function uses `scaleLinear`, `axisLeft`, and `axisBottom` to render axes and circles via SVG, with data loaded through `csv`. The animation updates the plot’s x-value accessor and re-invokes the chart, producing a dynamic exploration of iris flower measurements.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed