Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 7 Scatter Plot

Public visualization

Fork of Activity 7 Scatter Plot

0 stars0🌍 Public
MMohammed Abdul Mannan
Last edited Oct 31, 2025
Created on Oct 31, 2025

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 description

Comments

Sign in to join the discussion.

MIT Licensed