π Public
Viewing a saved revision (read-only)
445f9f5ba0a3450c9085be562b3f6ea1
Scatter Plot with Color Legend
This scatter plot visualizes the Iris dataset, showing petal length against sepal width, with points colored by species and a legend identifying the three categories. Using React with D3 v5, the visualization employs `scaleLinear` for the axes, `scaleOrdinal` for the color mapping, and renders SVG elements through reusable components like `AxisBottom`, `AxisLeft`, `ColorLegend`, and `Marks`. The data is loaded asynchronously via `csv`, with numeric columns parsed for plotting.
AI-generated descriptionA scatter plot of The Iris Dataset with color legend.