Viewing a saved revision (read-only)
448c6e8ed8a245b18e70f0015a87bc79
Task 9 -NC
This interactive scatterplot presents the classic Iris flower dataset, with each point representing a flower specimen. The plot animates through different feature pairings, cycling the x-axis between petal width, sepal width, petal length, and sepal length while the y-axis remains fixed on sepal length, allowing visual comparison across dimensions. Points are colored by species—setosa, versicolor, and virginica—with a color legend displayed. The visualization is built using D3.js, employing `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` for the animation loop. Data is loaded asynchronously from a GitHub-hosted CSV file, and the SVG rendering includes a rotating title and dynamic axis 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.