scatter plot
✓ Published0🌍 Public
This interactive scatter plot animates through the columns of the Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds while keeping y-axis fixed at sepal length. The visualization uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and draw axes, with SVG circles positioned dynamically. The code applies a reusable `scatterPlot` module that recalculates data mappings on each interval, rendering a full-screen SVG that updates in place.
AI-generated descriptionMIT Licensed