Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Charan - Scatter Plot using Iris dataset

Public visualization

Viewing a saved revision (read-only)

48f574374dc542ceac59d4e31172a4e2

Charan - Scatter Plot using Iris dataset

0 stars1🌍 Public
Ccharanchand9
Last edited Jun 26, 2022
Created on Jun 26, 2022

This interactive scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, while coloring each point by iris species (setosa, versicolor, or virginica) with distinct colors (aqua, pink, and red). The visualization is rendered as an SVG using D3 v6, with axes labeled “Petal-length” and “Sepal-length.” It loads data via `d3.csv`, scales the coordinates with `scaleLinear` and `extent`, and draws the points with SVG `circle` elements, incorporating the raw sepal dimensions as unused `rx` and `ry` attributes. The chart fills the browser window, using margins for axis labels.

AI-generated description

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

See also React Starter.