🌍 Public
Viewing a saved revision (read-only)
3bea6fac65a54e66b36668d346206567
iris dataset scatter plot
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'} /> ))}