🌍 Public
Viewing a saved revision (read-only)
7240a18d37af4821b96ac6f007c7d17b
Fork of Reusable for scatter plot animation
This interactive scatter plot animates the classic Iris Dataset, cycling through different feature pairs (petal width, petal length, sepal width, sepal length) every two seconds with a matching color change. Built using a reusable D3 module, it leverages d3.scaleLinear for axes, d3.extent for domains, and d3.axisLeft/axisBottom for rendering. The SVG circles are updated via a setInterval that reconfigures the scatterPlot function’s x-value and color accessors, while a join pattern handles the transitions. The data is loaded from a remote CSV using d3.csv.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.