Activity 7 Practice
✓ Published0🌍 Public
This interactive iris scatterplot cycles through flower measurements on the x-axis using a `setInterval`. It loads CSV data from a GitHub gist and uses `d3.csv` for parsing, `scaleLinear` and `d3.axisBottom`/`axisLeft` from D3 6.7.0 to build axes. A custom ES6 module `scatterPlot` structures the reusable plot, while circles are colored by species (setosa, versicolor, virginica). The SVG animation rotates axes across petal and sepal dimensions, with dynamic axis labels, a legend, and a title rendered via `d3.select` and `.append`.
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