Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Iris DataSet

Public visualization

Scatter Plot with Iris DataSet

0 stars0🌍 Public
RRohith arabati
Last edited Mar 7, 2022
Created on Mar 7, 2022

This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while coloring each point by species (setosa, versicolor, or virginica). It uses D3 v6 within a React-free HTML page, leveraging `d3.csv` for data loading, `scaleLinear` for axes, and `axisLeft`/`axisBottom` for ticks. Circles are rendered via SVG with a fixed radius, and the code also destructures sepal dimensions but only uses them as unused attributes on each circle, not for positioning. The visualization fills the browser window with a large bottom margin.

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