Task-9
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed