Reusable Scatter plot Activity 8
✓ Published1🌍 Public
This interactive scatter plot animates through different Iris flower measurements, cycling the x-axis between petal width, sepal width, petal length, and sepal length every few seconds. It uses D3 v6 to load CSV data asynchronously, render SVG circles colored by species, and update scales and axes via a reusable `scatterPlot` module. The visualization includes axis labels, a species legend, and a title, demonstrating dynamic data binding with `selectAll`/`join` and interval-driven transitions.
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