Untitled
✓ Published0🌍 Public
This animated scatter plot explores the Iris dataset, cycling through four different variable pairings on the x-axis every two seconds while keeping sepal length on the y-axis. Built with D3.js, it uses the reusable chart pattern from `scatterPlot.js`, which leverages `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render circles with a fixed radius. The data is loaded as CSV from a GitHub Gist and parsed into numeric values. The animation is driven by `setInterval` in `index.js`, which updates the chart’s x-value accessor and re-invokes the plot function.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed