🌍 Public
Viewing a saved revision (read-only)
b8f34b44eb304181b0ad01d11abe3365
Activity 6 Task 3 tutorial 3.1
This scatter plot visualizes the Iris dataset, plotting petal length against petal width and coloring each point by species (setosa, versicolor, or virginica). The visualization uses D3 v6 to load CSV data, apply linear scales with `scaleLinear`, and render circles with `select` and `join`. Interactive axes are generated via `axisLeft` and `axisBottom`, with labels for both dimensions. The plot fills the browser window, using an SVG canvas, and includes a legend-like color mapping for the three species.
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.