t-3
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing petal length versus petal width for individual flowers, with each species—setosa, versicolor, and virginica—colored distinctly. The code loads data via `d3.csv`, scales the axes with `d3.scaleLinear`, and renders circles as SVG marks. It also attaches a second, unused pair of sepal measurements to each point’s `rx` and `ry` attributes. Axis labels and ticks are generated using `d3.axisLeft` and `d3.axisBottom`.
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