🌍 Public
Viewing a saved revision (read-only)
2b49fac7032943f68edabccd7f45ab74
Fork of Reusable D3 Scatter Plot
An animated scatter plot cycles through four Iris dataset measurements, re-mapping the x-axis every two seconds to compare petal width, sepal width, petal length, and sepal length against a fixed y-axis of sepal length. Using the reusable chart pattern, it leverages `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` within a custom `scatterPlot` function called via `d3.select`. Data loads from a remote CSV with `d3.csv`, and circles update positions through `selection.join`, with SVG rendering and a `setInterval` driving the animation.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.