Skip to main content
100%

iris dataset scatter plot

✓ Published2🌍 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'} /> ))}

MIT Licensed

Similar vizzes