Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Act7

Public visualization

Viewing a saved revision (read-only)

92fa6cbe633942f7b7e07f6f690581f4

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

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.