Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example displays the classic Iris flower dataset as an animated scatter plot, cycling through four different feature combinations on the x-axis every two seconds. The visualization uses D3 v6 with a reusable `scatterPlot` function and SVG rendering, leveraging `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to map data to positions and draw axes. Circles are updated via data joins, with each column of the Iris dataset swapped in sequence to explore relationships between sepal and petal measurements.
AI-generated descriptionMIT Licensed