Tutorial_9
✓ Published0🌍 Public
This interactive SVG visualization displays the Iris dataset, cycling through different measurement pairs (petal width, sepal width, petal length, sepal length) on the x-axis while keeping sepal length on the y-axis. It uses D3 6.7.0 loaded via UNPKG, employing `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for axes and scaling. The animation updates every second via `setInterval`, recoloring points by species with a legend. A reusable `scatterPlot` module handles the chart structure, while custom markers and axis labels enhance the display.
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