Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Scatter Plot

0 stars2🌍 Public
AArturo Guevara
Last edited Sep 7, 2022
Created on Sep 7, 2022
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. Using d3.scaleLinear and d3.extent to compute domains, it positions circles in an SVG via d3.select, data joins, and the join() method. Axes are rendered with d3.axisLeft and d3.axisBottom, while the CSV is loaded and parsed with d3.csv, converting string values to numbers. The plot updates to fill the browser window.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed