Activity_7
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, showing four features (petal and sepal length and width) mapped to x/y axes with points colored by species. It cycles through different feature combinations on the x-axis using `setInterval`, with axes and labels updating dynamically. The example uses D3 v6 modules (`scaleLinear`, `axisLeft`, `axisBottom`, `csv`) and a reusable scatter plot component pattern with SVG rendering. A custom color legend distinguishes iris species, and the chart includes rotated axis labels 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.
MIT Licensed