🌍 Public
Viewing a saved revision (read-only)
be883a9ae01f438f92e5bb0d77d9e724
Activity8_Task3
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width. Each point is colored by species (skyblue for setosa, lightgreen for versicolor, pink for virginica) using the `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` APIs within the D3 v6 framework. It loads CSV data via `d3.csv`, parses numeric values, and renders circles in an SVG. Axis labels display petal length and sepal length, though the plotted coordinates use petal 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.