Skip to main content
100%

Activity7.1_Tutorial

✓ Published0🌍 Public
SSai Praveen Lokavarapu
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This animated scatter plot demonstrates the Iris dataset, cycling through different combinations of sepal and petal measurements on the x-axis. It shows how the three species (setosa, versicolor, and virginica) cluster differently depending on which features are compared. The visualization uses the D3.js library, specifically `csv`, `select`, `scaleLinear`, and `axisLeft`/`axisBottom` APIs to create the plot and its axes. The scatter plot updates every few seconds, using a `setInterval` loop to rotate through the four measurement columns as the x-axis variable. The SVG rendering includes custom-styled points, a color legend, and axis labels.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes