Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

2f40ea794399415d988766615a4b3d89

D3 Scatter Plot

0 stars0🌍 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.