Activity6_Task3
✓ Published2🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and sepal length along the x- and y-axes while coloring each point by species (setosa, versicolor, or virginica). The SVG chart uses D3 v6 scaling via `scaleLinear`, `extent` for domains, and `axisLeft`/`axisBottom` for labeled axes. Circle marks are generated with `selectAll` and `join`, and colors are assigned using a switch-based marker function. Data is loaded as CSV from a GitHub repository, with the page sized to the full window.
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