🌍 Public
Viewing a saved revision (read-only)
757bdbc2a4754e80b940d22135adf957
Activity 6
This interactive scatter plot visualizes the Iris dataset, cycling through different x-axis variables every few seconds to show relationships between sepal and petal measurements. Each species—setosa, versicolor, and virginica—appears as a distinct color (skyblue, lightgreen, orange) with a legend and axis labels updated dynamically. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `setInterval` to re-render the SVG animation, with data loaded via the `csv` function from a GitHub-hosted CSV file.
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.