🌍 Public
Viewing a saved revision (read-only)
712642483f824fb1853a20e5e4186e3f
Fork of Reusable D3 Scatter Plot
This example presents the classic Iris dataset as an animated scatter plot that cycles through different feature combinations every two seconds. It demonstrates a reusable charting pattern where the plot’s axes, scales, and circles are recomputed on each update using D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs. The visualization leverages D3’s `select` and `join` operations to update SVG circles and axis groups in place, producing a smooth transition between four variable pairings.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.