Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

fe15aa17ee474c95bc5e63a30cf0272f

Scatter Plot

0 stars0🌍 Public
SScott-Collier
Last edited Sep 18, 2023
Created on Sep 17, 2023
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis against sepal length on the y-axis. Using D3 v7, it loads CSV data via `d3.csv`, applies linear scales with `scaleLinear`, and renders circles as marks. Axes are drawn with `axisLeft` and `axisBottom`, and the SVG canvas fills the browser window. The code explicitly parses numeric fields and converts data values into pixel coordinates for each point.

AI-generated description

A scatter plot