🌍 Public
Viewing a saved revision (read-only)
107eef6e5a2e40499c03c2188d125424
Activity6_Task3
This scatter plot visualizes the Iris dataset, mapping petal length and width to the x- and y-axes while encoding species with color (skyblue, lightgreen, orange). The plot also encodes sepal length and width as the horizontal and vertical radii of each circular mark. The visualization uses D3 v6 APIs including `d3.csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load and scale data, draw axes, and render circles. A legend distinguishes the three species. The SVG renders directly to the browser window, sized to the viewport.
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.