Scatter Plot
✓ Published3🌍 Public
This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and sepal width on the y-axis. Each circle represents a flower sample, with a native SVG `<title>` element providing a tooltip on hover. Built with React and D3 v7, the visualization uses `scaleLinear` and `extent` to compute the scales, while custom `AxisBottom` and `AxisLeft` components render the tick marks and labels. The code loads data via D3’s `csv` function, and styling applies distinct colors to the marks and axis elements.
AI-generated descriptionMIT Licensed