Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Act7

Public visualization

Viewing a saved revision (read-only)

f66a8db16a35465dba95602c8f427ce5

Act7

0 stars0🌍 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.