🌍 Public
Viewing a saved revision (read-only)
a788652870914c61b1a16c22c846fe7e
Data Visualization
This scatter plot animates through four dimensions of the Iris dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds. The visualization uses D3 v6 with a reusable `scatterPlot` function that leverages `scaleLinear`, `axisLeft`, and `axisBottom` for axes. Data is loaded via `csv` from a GitHub Gist and parsed into numeric values. The plot renders as SVG circles with a radius of five, and the animation is driven by `setInterval` updating the `xValue` accessor and re-calling the plot.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.