Skip to main content
100%

IRIS Scatterplot

✓ Published3🌍 Public
Ppranav-vis
Last edited Sep 12, 2021
Created on Sep 6, 2021

This example visualizes the classic Fisher's Iris dataset, plotting sepal width against petal length for each flower sample as a circle. The D3.js v7 linearithmic scales (`d3.scaleLinear`) map the data to SVG coordinates, with the `AxisBottom` and `AxisLeft` custom React components rendering ticks and labels. Hovering over a point shows a tooltip with the formatted petal length value. The code loads data from a CSV using D3's `csv` function and renders the plot as SVG circles within a React application.

AI-generated description

Rendering CSS named colors from MDN.

MIT Licensed

Similar vizzes