🌍 Public
Viewing a saved revision (read-only)
74a3c7ff039745e096a4cd40c0daaed9
Task9_Tutorial
This interactive scatter plot animates the Iris dataset, cycling through four different feature combinations on the x-axis (petal width, sepal width, petal length, sepal length) while keeping petal width on the y-axis. It uses D3.js (v6.7.0) with the `csv`, `scaleLinear`, `axisLeft`, and `axisBottom` APIs to render SVG circles colored by species. The animation, driven by `setInterval`, updates the plot and redraws axis labels, legends, and a title. The visualization is rendered as an SVG with custom styling for species-based colors and legend markers.
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.