Skip to main content
100%

Scatter plot assignment

✓ Published0🌍 Public
KKOLLIPATI NIKHIL
Last edited Oct 19, 2025
Created on Oct 19, 2025

A scatter plot visualizes the relationship between sepal length and petal length for 40 samples from the Iris dataset, with each point representing a single flower. The D3.js v7 code loads the CSV data using `d3.csv` and `d3.autoType`, then renders circles in SVG with `d3.scaleLinear` for both axes. Axis elements are generated via `d3.axisBottom` and `d3.axisLeft`. Points are drawn with uniform steelblue fill and opacity, and the chart includes labeled x- and y-axes.

AI-generated description
MIT Licensed

Similar vizzes