Fork of Reusable D3 Scatter Plot
✓ Published1🌍 Public
Animated scatter plot of the Iris dataset built with D3.js, showing petal measurements on the axes. The visualization cycles through four different column combinations (petal width, sepal width, petal length, sepal length) every two seconds, updating the x and y axes via a reusable `scatterPlot()` component. Circles are colored by species using `d3.scaleOrdinal`, with SVG rendering, axes from `axisLeft` and `axisBottom`, and a legend appended. Data loads from a CSV URL, and the plot uses `selectAll`, `join`, and `setInterval` to animate transitions.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed