🌍 Public
task-8(part-3)
This scatter plot visualizes the Iris dataset, showing petal length against petal width while color-coding points by species (setosa, versicolor, virginica). The code loads CSV data via `d3.csv`, scales the axes with `scaleLinear` and `extent`, and renders circles using `join`. Axes are drawn with `axisLeft` and `axisBottom`; the visualization uses the D3 v6 library and renders to SVG.
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
Comments
Sign in to join the discussion.