Skip to main content
100%

D3 Scatter Plot

✓ Published0🌍 Public
Pperez1932@hotmail.es
Last edited Sep 25, 2024
Created on Sep 24, 2024
Forked from HTML Starter

This D3 example visualizes the classic Iris dataset as a scatter plot, mapping petal length on the x-axis against sepal length on the y-axis. It uses the `d3.csv` loader to fetch and parse the remote CSV, then applies `d3.scaleLinear` to construct axes and `d3.extent` to compute their domains. The SVG chart fills the browser window, with points rendered as circles via a data join (`selectAll` and `join`). Axis labels are omitted, but `axisLeft` and `axisBottom` draw the quantitative tick marks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes