ACTIVITY 7 TUTORIAL-1
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris flower dataset, cycling through different feature combinations on the x-axis while mapping species to color. Built with D3.js v6, it uses the reusable `scatterPlot` module with `scaleLinear`, `axisLeft`, and `axisBottom` to render axes. The `setInterval` call updates the x-value binding every few seconds, while SVG circles are joined and re-positioned. The code loads CSV data via `d3.csv` and demonstrates ES6 module imports, with custom styling for legends, labels, and the 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.
MIT Licensed