🌍 Public
Fork of Activity 7 Scatter Plot
This scatter plot visualizes the Iris dataset, mapping petal length and width while encoding sepal dimensions through elliptical marker shapes and species via color (skyblue, lightgreen, orange). The D3.js v6 code loads CSV data, uses `scaleLinear` with `extent` for axes, and renders SVG circles with `rx`/`ry` attributes to reflect sepal measurements. Axis labels are added via SVG text elements, and the visualization fills the browser window using `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.