Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Viewing a saved revision (read-only)

0ef7141bfcc24efa95ed1985644d2406

Activity6_Task3

0 stars0🌍 Public
Ssjannaikode@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This visualization displays the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis, with each species (setosa, versicolor, virginica) represented by a distinct color. The code loads CSV data via `d3.csv`, parses numeric fields, and renders SVG circles using `d3.scaleLinear` for axes and `d3.axisLeft`/`d3.axisBottom` for labeled scales. Axis labels are manually appended texts, while circles receive color based on species and use both `r` for size and `rx`/`ry` attributes, though the latter do not affect circle rendering in SVG.

AI-generated description