Activity6_Task3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width for individual specimens while coloring each point by species. Rendered as an SVG using D3 v6, the visualization loads CSV data from a GitHub repository and employs `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct scales and axes. Circles are colored by species via a switch statement, with sepal dimensions encoded as redundant `rx` and `ry` attributes. The chart includes rotated axis labels for petal length and sepal length.
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