🌍 Public
Viewing a saved revision (read-only)
259a5dca54844f628df3f6e68063c8de
Activity6_Task3
This scatter plot visualizes the Iris dataset, displaying petal length and petal width for individual flowers while using color to distinguish species (setosa, versicolor, and virginica). Built with D3.js v6 as an SVG rendering, the code loads CSV data via `d3.csv`, scales values with `scaleLinear` and `extent`, and renders circles with `selectAll().join()`. The visualization includes custom axes created with `axisLeft` and `axisBottom`, labeled to show measurement dimensions.
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.