Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with D3

Public visualization

Scatter Plot with D3

0 stars1🌍 Public
Aadventuresenglish.info@gmail.com
Last edited Dec 5, 2023
Created on Nov 30, 2023

This scatter plot visualizes the Iris dataset, plotting petal length on the x-axis against sepal length on the y-axis for individual flowers. The visualization uses D3.js to load CSV data via `d3.csv`, create linear scales with `scaleLinear`, and render SVG circles as data points. Axes are generated using `axisBottom` and `axisLeft` and positioned within a margin-based layout. The chart fills the browser window through dynamically computed width and height, with the rendered SVG scaling to the viewport.

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