🌍 Public
Viewing a saved revision (read-only)
198acb7f7f844308a68e1e838dbcea0b
Task8_Tutorial3
A scatter plot of the Iris dataset shows petal length against petal width, with each point colored by species (setosa, versicolor, and virginica). The visualization uses D3 v6, loading data from a CSV via `d3.csv`, and maps the x and y axes using `scaleLinear`. Circles are drawn with SVG `<circle>` elements, where the `rx` and `ry` attributes are set from sepal measurements, though the visual remains a standard circle. Axis labels are added manually with SVG text, and axes are rendered using `axisLeft` and `axisBottom` onto the SVG canvas.
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.