Scatter Plot with Colour Legend
✓ Published1🌍 Public
This interactive scatter plot displays the Iris flower dataset, letting users compare any two measured attributes (sepal length, sepal width, petal length, petal width) by selecting them from dropdown menus. The species of each flower is encoded through color and shown in a separate legend. Built with React and D3 v7, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for the categorical color mapping, and renders all marks and axes as SVG elements. The data is loaded asynchronously from a CSV file using D3’s `csv` function.
AI-generated descriptionMIT Licensed