🌍 Public
Viewing a saved revision (read-only)
b88c47cd3c274c2b851eb17b2cc9060b
task 3.1
This scatter plot visualizes the Iris dataset, mapping petal length and width on the x and y axes, with points colored by species (setosa, versicolor, virginica). The code uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to build the chart, loading data via `csv` from a GitHub URL. Circles are drawn with a fixed radius, while labels for axes are added manually. The visualization is rendered as SVG, with an interactive full-window layout.
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.