🌍 Public
Viewing a saved revision (read-only)
2c5d2b7b47d644e7a07e14184a631d22
Activity_6_2.
This scatter plot visualizes the Iris dataset, mapping petal length and width for individual specimens while coloring each point by species (setosa, versicolor, or virginica). The visualization renders circles in an SVG using D3 v6, with scales created via `d3.scaleLinear` and axes generated by `d3.axisLeft` and `d3.axisBottom`. Data is loaded asynchronously from a remote CSV using `d3.csv`, and the code also reads sepal measures into each row but does not use them for the plotted positions.
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.