ScatterPlot
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, color-coding points by species (setosa, versicolor, virginica) and cycling through the four numeric attributes for the x-axis every two seconds using `setInterval`. The reusable chart, built with D3 v6, uses `scaleLinear`, `axisLeft`, and `axisBottom` to map petal and sepal measurements to SVG circle positions, with a custom `scatterPlot()` factory function managing dimensions, margins, and axis updates.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed