🌍 Public
Viewing a saved revision (read-only)
58d792c07e4a4d04b7bdd8f8e0229531
Fork of Reusable D3 Scatter Plot
This example shows an animated scatter plot of the Iris dataset, cycling through different flower measurements on the x-axis every two seconds. The visualization uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` within a custom reusable `scatterPlot` function, rendering SVG circles with `selectAll` and `join`. Data loads from a CSV via `d3.csv`, with axes updating dynamically through repeated `svg.call(plot)` invocations.
AI-generated description