🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.