Making a Scatter Plot
✓ Published3🌍 Public
This example visualizes the relationship between petal length and sepal width for iris flowers. The interactive scatter plot uses circle marks positioned by linear scales, with axes and labels created through reusable React components. The code loads the Iris dataset from a CSV file and renders it as an SVG. D3's `scaleLinear`, `extent`, and `format` utilities handle the data transformations and tick formatting, while React manages the component structure and state.
AI-generated descriptionMaking a Scatter Plot
MIT Licensed