🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.