🌍 Public
Viewing a saved revision (read-only)
61a7c0e0056d4967b0f9ce476f85bcff
Scatterplot
This scatterplot visualizes the Iris dataset, plotting sepal length against sepal width for individual flower samples, with the data loaded via `d3.csv` and rendered as SVG circles using React. The code uses `d3.scaleLinear` with `d3.extent` and `.nice()` to compute continuous scales for both axes, while custom React components generate the axis ticks and marks. Each point includes a tooltip via an SVG `<title>` element, and the chart includes rotated and positioned axis labels.
AI-generated descriptionBar chart with D3