Skip to main content
100%

creating a scatter Plot using iris dataset

✓ Published0🌍 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
MIT Licensed

Similar vizzes