Skip to main content
100%

D3 Scatter plot

✓ Published0🌍 Public
SStuartSutherland
Last edited Jan 9, 2023
Created on Jan 9, 2023
Forked from HTML Starter

This D3 scatter plot visualizes the classic Iris dataset using petal length along the x-axis and sepal length along the y-axis. The code loads data asynchronously from a CSV URL, converts numeric fields, and computes linear scales with `d3.scaleLinear`. It renders circles in an SVG container sized to the browser window, with axes drawn via `d3.axisLeft` and `d3.axisBottom`. The visualization demonstrates D3’s data-binding and layout pipeline for a simple multi-point chart.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes