🌍 Public
Fork of Task 9 and 10 Tutorial
This example demonstrates an animated scatter plot of the Iris dataset, cycling through four feature pairs (petal width, sepal width, petal length, sepal length) on the x-axis while sepal length remains on the y-axis. It shows how different measurements cluster by species (setosa, versicolor, virginica) using colored circles. The visualization uses D3 v5 with a reusable `scatterPlot` module that leverages `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` for axes, while the main script uses `d3.csv` to load data and `setInterval` to animate the axis transitions. SVG rendering with custom legends and labels is updated each cycle.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed
Comments
Sign in to join the discussion.