Scatter Plot with React & D3
✓ Published11🌍 Public
This scatter plot visualizes the Iris dataset, showing sepal length against sepal width for 150 flowers. The React `App` component loads CSV data via `csv` from D3 and renders an SVG, while a reusable `viz` function creates the scales, axes, and circles. It uses `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` from D3 v7, with helper modules for axes and labels. The plot displays black circles of radius 12 with labeled x and y axes on a fixed 960x500 canvas.
AI-generated descriptionMIT Licensed