🌍 Public
Viewing a saved revision (read-only)
64e7f44ecae741b393708a534e267f8a
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