Skip to main content
100%

Scatter Plot for Iris dataset

✓ Published2🌍 Public
LLG0498
Last edited Mar 5, 2022
Created on Mar 4, 2022
Forked from HTML Starter

This scatter plot displays the relationship between petal length and sepal length for the Iris dataset. The visualization uses D3 v6 to load CSV data, map values to screen coordinates with linear scales, and render circles as data points via SVG. D3’s `select`, `append`, and `.join()` methods construct the chart, while the `axisLeft` and `axisBottom` functions generate labeled axes. A rotated text element provides the y-axis label, and the plot fills the browser window dynamically based on `window.innerWidth` and `window.innerHeight`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes