Skip to main content
100%

scatter plot

✓ Published0🌍 Public
Hharshithamiriyam@gmail.com
Last edited Mar 8, 2026
Created on Mar 7, 2026
Forked from React & D3 Starter

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis against sepal length on the y-axis for individual flowers. The example uses React with D3 v7 functions like `csv` for data loading, `scaleLinear` for axis scaling, and `extent` to compute domains. Data is rendered as purple SVG circles, with labeled axes and a title added via D3’s `axisBottom` and `axisLeft` methods. The chart is built dynamically within a React component using a `useEffect` hook to fetch and process the data.

AI-generated description
MIT Licensed

Similar vizzes