🌍 Public
Viewing a saved revision (read-only)
b34e226d695d442c9daa6cc8b5084a47
A2 Tutorial 1
This animated scatterplot cycles through four feature combinations from the Iris dataset, showing sepal and petal measurements for three flower species. D3’s `scaleLinear`, `axisLeft`, and `axisBottom` handle the axes, while a `setInterval` drives the rotating x-axis variable. Circles are colored by species via a custom `marker` function. The SVG output redundantly draws a legend and labels, with a violet title and italic axis text, all built using the `scatterPlot` module.
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.