🌍 Public
Viewing a saved revision (read-only)
2b1d1b0ec9b74db3a0877c6b58f6bd5d
Fork of CV: Scatter Plot
This interactive scatter plot displays the classic Iris dataset, plotting sepal length against sepal width for 150 flowers across three species. Built with React and D3 v7, the visualization renders circles as SVG elements, with clicking a point highlighting it by turning it white with a black stroke. The code uses `d3.scaleLinear` and `d3.extent` to create scales, `d3.axisBottom` and `d3.axisLeft` for axes, and a `ResizeObserver` to make the chart responsive to its container.
AI-generated description