Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Vanilla Scatter Plot

Public visualization

Viewing a saved revision (read-only)

d6ad74f4fef64123a72334af0296b3fc

Vanilla Scatter Plot

0 stars1๐ŸŒ Public
Mmaxthamt
Last edited Jun 16, 2021
Created on Jun 15, 2021
Forked from HTML Starter

This example renders a scatter plot of the Iris dataset, mapping petal length to the x-axis and sepal length to the y-axis. The code uses D3 v6 with `d3.csv` to load data, `d3.scaleLinear` and `d3.extent` for scales, and `d3.axisLeft` and `d3.axisBottom` for axes. Circles are drawn via SVG using the general update pattern with `selectAll` and `join`. The plot fills the browser window, with margins and tick styling configured in CSS.

AI-generated description

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

See also React Starter.