Task 9
✓ Published0🌍 Public
This animated scatter plot cycles through different pairings of the Iris flower dataset's four measurements (petal width, sepal width, petal length, sepal length) on the x-axis while sepal length is used for the y-axis. Points are colored by species (setosa, versicolor, virginica) with a custom legend. The visualization uses D3 v6 APIs such as `csv`, `scaleLinear`, `axisBottom`, and `axisLeft` within a reusable `scatterPlot` module, updating axes and circles via `setInterval`. Data is loaded from a raw GitHub CSV URL, and styling is applied with CSS.
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