🌍 Public
Viewing a saved revision (read-only)
758bf111a1224e2e95d5ebaa22a1449f
Scatter Plot with Colors
This interactive scatter plot displays the Iris dataset, visualizing relationships between different flower measurements. Users can select which attributes appear on the X and Y axes through dropdown menus. A color legend groups data points by species, and hovering over a legend entry dims all non-matching species marks. The visualization uses React with D3 v5 scales (scaleLinear, scaleOrdinal) and renders as SVG. The d3.csvParse function loads the dataset, while React state manages axis selections and hover interactions.
AI-generated descriptionRefactored Bar Chart.