Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
SShannon Teoh
Last edited May 18, 2024
Created on May 16, 2024
Forked from HTML Starter

This scatter plot visualizes the relationship between petal length and sepal length in the classic Iris dataset. The visualization uses D3 v7 to load CSV data, then applies `d3.scaleLinear` with `d3.extent` to map the data to screen coordinates, and renders circles as SVG elements with `d3.axisLeft` and `d3.axisBottom` for the axes. The plot fills the browser window, with a margin layout for the axes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes