Reusable Scatter plot Activity 8
✓ Published0🌍 Public
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.
MIT Licensed