Activity6_Task3
✓ Published1🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width on the axes while coloring each point by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. The D3 v6 code loads CSV data via `d3.csv`, applies `d3.scaleLinear` for both scales, and renders circles with `d3.selectAll` and `d3.axisLeft`/`d3.axisBottom` for labeled axes. Sepal dimensions are also stored per point but not directly visualized, with the SVG output adapting to the full viewport size.
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