Task-9&10 Tutorial
✓ Published0🌍 Public
This animated scatterplot cycles through four iris flower measurements—petal width, sepal width, petal length, and sepal length—on the x-axis while keeping sepal length fixed on the y-axis. It uses D3 v6 modules like `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, and `csv` to load the Iris dataset from a remote URL. A `setInterval` updates the x-scale domain and redraws the SVG circles, with species-specific colors (skyblue, lightgreen, orange) and a static legend, plus dynamic axis titles and labels.
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