🌍 Public
Viewing a saved revision (read-only)
feef7852e6e8464a9cb001f379e4448f
Fork of Reusable D3 Scatter Plot
This example presents an animated scatter plot of the Iris Dataset, cycling through different floral measurements every two seconds. The visualization uses D3 v6 to render SVG circles, with a reusable chart module (`scatterPlot`) that updates scales and axes dynamically. Data is loaded via `d3.csv` from a GitHub Gist, and species are color-coded using `d3.scaleOrdinal`. Explicit `setInterval` calls re-invoke the chart with new x-value columns, while axes are redrawn with `d3.axisLeft` and `d3.axisBottom`.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.