🌍 Public
Viewing a saved revision (read-only)
b0b27b5711a84b65b8df9117ea6f0570
task 9 and 10
This animated scatter plot displays the Iris dataset, cycling through four flower measurements on the x-axis while maintaining sepal length on the y-axis. Using D3.js, the visualization updates every few seconds via `setInterval`, re-rendering axes and circles with `scaleLinear`, `axisLeft`, and `axisBottom`. Each species is color-coded, with SVG shapes drawn from CSV data loaded via `d3.csv`. The reusable `scatterPlot` function handles the dynamic updates, while custom text elements provide labels, a legend, and a title.
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.