Assignment2_Q1
✓ Published0🌍 Public
This animated scatter plot explores the Iris dataset, cycling through different x-axis attributes (petal width, sepal width, petal length, sepal length) every few seconds while keeping sepal length on the y-axis. Colored circles distinguish the three Iris species, with a legend and axis labels updating dynamically. The visualization loads data via `d3.csv` and renders SVG elements using D3 v5, building a reusable scatter plot component with `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` for animation.
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