Activity6_Task3.1
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes while coloring each point by species (setosa, versicolor, and virginica). The visualization uses D3 v6, loading data via `d3.csv` from a GitHub Gist and rendering with SVG. The chart employs `d3.scaleLinear` for axes, `d3.extent` for domain calculation, and `d3.axisLeft`/`d3.axisBottom` for tick marks, with circle marks sized uniformly and colored via a custom switch function.
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