Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

27af94fe797e4b44a66f007470065105

Scatter Plot

0 stars0🌍 Public
JJulia Huang
Last edited Apr 11, 2023
Created on Apr 11, 2023

This scatter plot displays the relationship between petal length and petal width, with points colored by iris species. Built with Observable Plot and D3 v7, the example loads CSV data via `d3.csv` and `autoType`, then renders a full-window plot using Plot’s `plot` and `dot` marks. The chart updates to fill the browser viewport by setting width and height to `window.innerWidth` and `window.innerHeight`.

AI-generated description

Minimal example demonstrating use of Observable Plot with vanilla HTML.