🌍 Public
Viewing a saved revision (read-only)
30da980924b04c89bb931a35399bd2de
activity 6 task3.1
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (skyblue for setosa, lightgreen for versicolor, and orange for virginica). The visualization uses D3 v6 to load the data via the `d3.csv` function, then maps the data to SVG circles using `d3.scaleLinear` for the x and y axes, with `d3.axisLeft` and `d3.axisBottom` for the labeled axes. The code also parses additional sepal measurements but does not use them in this view.
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.