Scatterplot with Legend Interaction
✓ Published1🌍 Public
This scatterplot maps the Iris dataset by sepal length on the x-axis and petal length on the y-axis. Users can click a species in the legend to highlight only those data points while dimming the others; clicking again clears the filter. The visualization uses D3.js v7 within a React-like state management pattern, employing `csvParse` for data loading and `scaleLinear` for axes. The legend is built with categorical color scaling via `scaleOrdinal` and `schemeCategory10`.
AI-generated descriptionMIT Licensed