🌍 Public
Viewing a saved revision (read-only)
6342b106d11a453b9d8cdc2f21447b86
Activity8_Task3_DV_LB
This scatter plot visualizes the Iris dataset by mapping petal length and petal width on the x- and y-axes, with each point colored by species (setosa, versicolor, or virginica) using orange, skyblue, and lightgreen fills. Built with D3 v6, it renders as an SVG and loads data via `d3.csv`, scales axes with `d3.scaleLinear`, and draws circles with `selectAll('circle')` and a `.join('circle')` operation. Axis labels use green text, and the plot adapts to the browser window’s 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.