Skip to main content
100%

Scatter Plot

✓ Published0🌍 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

MIT Licensed

Similar vizzes