Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

creating a scatter Plot using iris dataset

Public visualization

creating a scatter Plot using iris dataset

0 stars0🌍 Public
Vvidhyanamini
Last edited Mar 5, 2022
Created on Mar 5, 2022

This scatter plot visualizes the relationship between petal length and sepal length for the classic Iris dataset, using purple circles to represent individual flowers. The React-based visualization uses D3 v5's `scaleLinear`, `extent`, and `csv` functions to load and scale the data, rendering the axes and marks as SVG elements. Axis tick labels are formatted with `format('.2s')`, and hover tooltips display the petal length value via an SVG `<title>` element.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed