Activity 7-4
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, depicting petal length against petal width, with each point colored by species (setosa, versicolor, or virginica). It loads data from a CSV URL using the `csv` function, then maps values through `scaleLinear` scales. The visualization uses D3 v6 APIs including `select`, `extent`, `axisLeft`, `axisBottom`, and SVG circle marks for rendering, with axis labels styled via SVG `text` elements.
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.
MIT Licensed