🌍 Public
Viewing a saved revision (read-only)
486cb2586df64672a87d98a5aca66f98
Reusable Scatter plot Activity 8
This interactive visualization uses D3.js to display the Iris dataset as an animated scatter plot. The code cycles through different x-axis measurements every few seconds, showing relationships between petal width, sepal width, petal length, and sepal length. Points are colored by species (setosa, versicolor, virginica) with a legend and axis labels. The reusable scatterPlot component handles scales and axes via d3.scaleLinear, axisLeft, and axisBottom, while circles are rendered with SVG and animated using setInterval.
AI-generated descriptionA demonstration of reusable scatter plot.