Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Iris DataSet

Public visualization

Viewing a saved revision (read-only)

0b0f52075832472987d0921bdf84b5fe

Scatter Plot with Iris DataSet

0 stars0🌍 Public
Bbrindapotluri
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from HTML Starter

This scatter plot visualizes the Iris dataset, mapping petal length and width to point positions, while color distinguishes the three species: setosa, versicolor, and virginica. The plot uses D3.js v6 with an SVG rendering, employing `d3.csv` to load the data, `d3.scaleLinear` for axes, and `d3.extent` to set the scales. Separately, sepal length and width are encoded into the marker's width and height, though the ellipse-like shapes still use `r` for a uniform radius. Axis labels are added via SVG text elements, and the visualization adapts to the window size.

AI-generated description

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

See also React Starter.