Activity 7 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis. Each circle’s color represents the iris species—setosa in skyblue, versicolor in lightgreen, and virginica in orange. Built with D3 v6, the code loads CSV data and renders SVG circles via `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom`. It highlights the author's custom use of `rx` and `ry` attributes, though these do not affect the circular shape. The data comes from a 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