Reusable Scatter plot Activity 8
✓ Published0🌍 Public
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.
MIT Licensed