Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This fork of a reusable D3 scatter plot animates the Iris Dataset, cycling through four flower measurements (petal width, sepal width, petal length, sepal length) on the x-axis every two seconds while keeping sepal length on the y-axis. Built with D3 6.7.0, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and circles as SVG, with the data fetched as CSV from a GitHub gist. The animation runs via `setInterval`, redrawing the plot with a new x-value mapping.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed