Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

iris dataset scatter plot

Public visualization

Viewing a saved revision (read-only)

3bea6fac65a54e66b36668d346206567

iris dataset scatter plot

0 stars2🌍 Public
MMATTE-blz
Last edited Apr 2, 2021
Created on Apr 2, 2021
Forked from Styling Bar Chart

This scatter plot visualizes the Iris dataset, plotting sepal length against sepal width for individual flowers. Each circle is colored teal and includes a tooltip showing the sepal length value. The visualization uses React with D3 v5's `scaleLinear` for axes and scaling, rendering SVG elements through React components. Data is loaded from a remote CSV file using D3's `csv` function.

AI-generated description

{xScale.ticks().map((tickValue) => ( <line x1={xScale(tickValue)} y1={0} x2={xScale(tickValue)} y2={innerHeight} stroke={'black'} /> ))}