🌍 Public
Viewing a saved revision (read-only)
8ce1fe68a22a4300be281da831ecc3cd
Activity6_Task3
This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, and virginica). Built with d3.v6, the visualization uses `csv` to load data, `scaleLinear` for axis scaling, and `axisBottom`/`axisLeft` for tick marks. The SVG output renders circles with fixed radius, while the color mapping is handled by a switch statement in the `marker` 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.