Skip to main content
100%

Task-9

✓ Published0🌍 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.
MIT Licensed

Similar vizzes