🌍 Public
Viewing a saved revision (read-only)
e425127cb7d84b83a5a5ae58b4c5dc03
Activity6_task3
This scatter plot visualizes the Iris dataset, mapping petal length and width as the primary axes while encoding sepal dimensions through each circle’s horizontal and vertical radii. Three species—setosa, versicolor, and virginica—are distinguished by colored circles (skyblue, lightgreen, and orange). The visualization loads CSV data via `d3.csv` from a GitHub raw URL, parses numeric fields, and renders SVG circles using `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`d3.axisBottom`. It demonstrates D3 v6 module imports, dynamic window sizing, and direct SVG manipulation with `selection.join`.
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.