Untitled
✓ Published0🌍 Public
This example presents an animated scatterplot of the Iris dataset, cycling through different flower measurements on the x-axis while maintaining sepal length on the y-axis. Points are colored by species (setosa, versicolor, virginica) with a corresponding legend and title. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the plot, updating the x-scale via `setInterval`. The data is loaded from a CSV using `d3.csv` and rendered as SVG circles with transitions.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed