Skip to main content
100%

Scatterplot of Iris

✓ Published2🌍 Public
SSamuel Oseh
Last edited Jul 10, 2022
Created on Jul 10, 2022

This scatterplot of the Iris dataset displays the relationship between petal length and sepal width using a D3 linear scale for each axis. The visualization uses React with D3’s `scaleLinear` and `d3.extent` to map the data from the CSV file loaded via `useData`. SVG circles render each data point with a native `<title>` element for basic tooltips, while custom `AxisBottom` and `AxisLeft` components generate tick marks and labels. The chart applies a teal fill for marks and gray axis styling from the Poppins-font CSS.

AI-generated description

Loads data using React and D3 utilities, Bare minimum for projects

MIT Licensed

Similar vizzes