🌍 Public
Viewing a saved revision (read-only)
38fbed45baa042bc8c3ba8887f9e4eb1
Basic Scatter Plot with React & D3
This example demonstrates a basic scatter plot for exploring the relationship between sepal length and sepal width in the Iris dataset. The React app includes a file input that lets users load their own CSV data. It uses D3 v7’s `scaleLinear` and `extent` to map data values to SVG coordinates, with points rendered as `circle` elements via a `join` operation. The plot updates dynamically upon file upload.
AI-generated description