🌍 Public
Viewing a saved revision (read-only)
cbf37b2647c14ffd873d1bfdc1dfffe8
Activity6_Tutorial3.1
This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis while coloring each point by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. The visualization uses d3.v6 to load the CSV data, scaleLinear for axes, and axisLeft/axisBottom to render the scales. Points are drawn as SVG circles, and while the code references sepal dimensions, the visible plot only displays petal measurements.
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.