Skip to main content
100%

Scatter Plot - iris flower

✓ Published3🌍 Public
AAndres de la Garza
Last edited Mar 8, 2021
Created on Mar 8, 2021

This scatter plot visualizes the iris flower dataset, mapping sepal length on the x-axis against sepal width on the y-axis. Each circle represents an individual flower sample, with hover tooltips revealing the precise x-value via the native SVG `<title>` element. Built with React and D3 v6, the visualization uses `scaleLinear` for both axes with `.nice()` padding, while custom React components (`AxisBottom`, `AxisLeft`, `Marks`) render SVG ticks and circles. Data is loaded asynchronously from a CSV file using D3’s `csv` function, with numeric parsing applied to all four measurement columns.

AI-generated description
MIT Licensed

Similar vizzes