🌍 Public
Viewing a saved revision (read-only)
2724ce92ac65434980df17d58da7c036
act6-tutorial3.1
This scatter plot visualizes the Iris dataset, mapping petal length against petal width for individual flowers, with points colored by species (setosa, versicolor, or virginica). The example loads CSV data from a GitHub repository and uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render the SVG chart. Circle marks are drawn with the `join` pattern, while axis labels are added as text elements, demonstrating a basic data-loading and scatter-plot workflow within a full-page 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.