🌍 Public
Reusable Scatter plot Activity 8
This example demonstrates an interactive scatter plot of the Iris dataset, cycling through four different feature combinations on the x-axis every few seconds. The visualization uses the D3.js library to render SVG circles colored by species (setosa, versicolor, and virginica). The scatter plot is constructed with a reusable `scatterPlot` module, which defines the axes and data mapping. The animation is driven by a `setInterval` loop that updates the `xValue` property, while the y-axis remains fixed on sepal length.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed








Comments
Sign in to join the discussion.