Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published1🌍 Public
SSharankumar02
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

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 description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes