Skip to main content
100%

Act7

✓ Published0🌍 Public
IIkram Mohammed
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Hello VizHub

This animated scatter plot visualizes the Iris dataset, cycling through four feature pairs (petal width, sepal width, petal length, and sepal length) on the x-axis every few seconds. It colors each species—setosa, versicolor, and virginica—with distinct markers and includes axis labels, a legend, and a title. The visualization uses D3.js (v6) with the `csv` parser, `scaleLinear`, `axisLeft`, and `axisBottom` APIs, rendering as an SVG with a repeating `setInterval` that updates the plot’s x-scale and data mapping.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes