Activity6-question3
✓ Published0🌍 Public
This example displays a scatter plot of the Iris dataset, mapping petal length against petal width while color-coding points by species (skyblue, lightgreen, and orange). Data is loaded via `d3.csv` from a GitHub repository, and scales are created with `d3.scaleLinear` using `d3.extent`. The SVG circles are rendered with `d3.selectAll` and `.join`, while axes are added via `d3.axisLeft` and `d3.axisBottom`, with custom labels and styling.
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