Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example animates through scatter plots of the Iris dataset, cycling between four measured variables on the x-axis every two seconds. A reusable chart function built with D3 v6 encodes data points as SVG circles, with axes generated by `axisLeft` and `axisBottom`. The code fetches the dataset via `csv` and updates the x-scale through a `setInterval` loop, demonstrating a modular chart pattern.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed