🌍 Public
Viewing a saved revision (read-only)
e62b6b6cf0f6451bbc363ec715330c10
Animated Reusable D3 Scatter Plot
This animated scatter plot cycles through four measurements from the Iris Dataset, alternately mapping petal width, sepal width, petal length, and sepal length to the x-axis while keeping sepal length on the y-axis. Built with a reusable D3 module, it uses `scaleLinear`, `axisBottom`, and `axisLeft` to render SVG circles and axes, updating every four seconds via `setInterval`. The animation relies on D3’s data join (`selection.join`) to smoothly reposition points as the axes rescale.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.