🌍 Public
Viewing a saved revision (read-only)
8f4a8406440c4b438531e3221506cb5e
Scatter Plot with Color Legend
This scatter plot visualizes the Iris Dataset, showing petal length on the x-axis and sepal width on the y-axis. Each flower species is encoded by color, using a `d3.scaleOrdinal` color scale and a custom `ColorLegend` component to map species names to colors. The visualization is rendered as an SVG using React, with reusable components for axes and marks. Data is loaded asynchronously via the `d3.csv` function from a remote URL.
AI-generated descriptionA scatter plot of The Iris Dataset with color legend.