Activity6_Task3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width. Each circle represents one flower, colored by species (setosa, versicolor, or virginica) via a switch statement in the `marker` function. The visualization uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` for axes and data loading. The plot dynamically sizes to the browser window and renders SVG circles with a radius of 5 pixels, reading data from a remote GitHub-hosted CSV file.
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