🌍 Public
Viewing a saved revision (read-only)
79a4050921954c43a4f3fe35061ee975
Activity6_question3.1
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (setosa, versicolor, or virginica). The chart uses D3 v6’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, scale axes, and render the SVG. Points are drawn as circles using D3’s `selectAll` and `join`, with axis labels styled in green. The data is fetched from a GitHub-hosted CSV file.
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.