Reusable Scatter plot Activity 8
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, cycling through four feature combinations on the x-axis while sepal length stays on the y-axis. Each species appears as a distinct color (skyblue, lightgreen, orange) with a legend. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and a reusable `scatterPlot` module updated via `setInterval`. SVG circles and text labels render dynamically as axes change every few seconds.
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