react-d3-scatterplot
✓ Published1🌍 Public
This example renders a scatter plot of the classic Iris dataset, mapping sepal length to the x-axis and sepal width to the y-axis. Built with React, it loads CSV data via d3.csv and uses d3.scaleLinear to construct the axes. SVG circles represent each data point, with a native title element providing hover tooltips. The code defines reusable components for axes and marks, and uses d3's extent and nice functions to set the scale domains.
AI-generated descriptionA scatter plot of The Iris Dataset
MIT Licensed