Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-9

Public visualization

Viewing a saved revision (read-only)

46802502b57b4915bc536e6f89cfa963

Task-9

0 stars0🌍 Public
Aasimcyb@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

An animated scatter plot of the Iris dataset cycles through the four measured features (petal and sepal width and length) on the x-axis while keeping petal width on the y-axis. D3.js, loaded via UNPKG, draws colored circles for each species (setosa, versicolor, virginica) and updates the axes and labels every few seconds using `setInterval`. The code uses local ES6 modules (`scatterPlot.js`), imports `csv`, `select`, `scaleLinear`, `extent`, and axis helpers from `d3`, and renders as an SVG.

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.