🌍 Public
Viewing a saved revision (read-only)
be16c80a22394ef5a0d21cf6fef8d637
Reusable Scatter plot Activity 8
This interactive scatter plot visualizes the Iris dataset, cycling through four feature combinations on the x-axis every few seconds via setInterval. The visualization uses D3 v6 modules including csv, select, scaleLinear, extent, axisLeft, and axisBottom to render SVG circles colored by species—skyblue for setosa, lightgreen for versicolor, and orange for virginica. A legend and axis labels update dynamically, while the reusable scatterPlot ES6 module encapsulates the chart configuration.
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.