Activity6_Task3
✓ Published0🌍 Public
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.
MIT Licensed