🌍 Public
Viewing a saved revision (read-only)
bbfb87c6376e4b01b4dd8a56a246b2e8
Task9&10
This animated scatter plot visualizes the Iris dataset, cycling the x-axis through petal width, sepal width, petal length, and sepal length while keeping petal width on the y-axis. Points are color-coded by species (setosa, versicolor, virginica) with a legend. Built with D3.js (v6), it uses `scaleLinear`, `axisLeft`, and `axisBottom` from the scatterPlot module, updating via `setInterval` to call the reusable plot function. The SVG rendering includes dynamic axis labels, a title, and legend elements, with data loaded from a remote CSV.
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.