Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot assignment

Public visualization

Viewing a saved revision (read-only)

4fa095a5d0a2444a9425a088b58292dd

Scatter plot assignment

0 stars0🌍 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