Fork of Stylized Scatter Plot
✓ Published0🌍 Public
This example displays a scatter plot of the Iris Dataset, mapping petal length against sepal width with circles of a fixed radius. The visualization uses React components to render SVG elements, with axes and marks built through reusable functional components. D3’s `scaleLinear`, `extent`, and `max` functions handle scaling and domain calculations, while the `csv` loader in `useData` parses the dataset asynchronously. A native SVG `<title>` element provides tooltips for each point, and the styling uses the Poppins font with custom tick and label colors.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed