Activity 8 - Task 3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping petal length and width to the x and y axes, with each point colored by iris species (setosa, versicolor, or virginica). The visualization uses D3.v6, loading data via `d3.csv` from a GitHub raw URL, and employing `d3.select`, `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to create the SVG chart. Color is assigned via a switch statement, while the plot window fills the browser viewport, with axis labels in green text.
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.
MIT Licensed