Activity6_Task3.1
✓ Published2🌍 Public
This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, and virginica) in skyblue, lightgreen, and orange. The code loads data from a GitHub gist via D3’s `csv` and uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and SVG circles with a fixed radius, while also mapping sepal dimensions to each point’s `rx` and `ry` attributes (though these are overridden by the constant radius). The visualization fills the browser window, with green axis labels for petal and sepal lengths.
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