🌍 Public
Viewing a saved revision (read-only)
e62594d075c047d8b68a3d59b593092a
Scatter Plot with Color
This scatter plot visualizes the Iris dataset, showing petal length against sepal width with points colored by species. The code uses React, D3 v6, and SVG rendering, with `scaleLinear` for axes, `scaleOrdinal` for categorical colors, and `csv` to load data from a GitHub gist. Custom `AxisBottom` and `AxisLeft` components generate ticks, while the `Marks` component draws circles with tooltips.
AI-generated description