🌍 Public
Viewing a saved revision (read-only)
ab160ac4f713482e8dc69cecb425726b
Activity 7 Task 3
This scatter plot visualizes the Iris dataset, displaying petal length against petal width, with each point colored by species (setosa, versicolor, or virginica) using an orange, skyblue, or lightgreen fill. The code loads data via `d3.csv` from a GitHub raw URL, uses `d3.scaleLinear` and `d3.extent` for scales, and draws circles in an SVG. Axes are rendered with `d3.axisLeft` and `d3.axisBottom`, with custom green axis labels, all built using D3 v6.
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.