🌍 Public
Viewing a saved revision (read-only)
f399264cbc8447658ff3f16d6893ff77
Activity6_Task3
A scatter plot visualizes the Iris dataset, mapping petal length and width for each sample as colored circles. The plot uses D3 v6 to load CSV data, scale linearly with `scaleLinear`, and render SVG circles, distinguishing three species via a switch statement for colors. Axes are created with `axisLeft` and `axisBottom`, and the visualization is displayed full-screen with window dimensions.
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.