Scatter Plot with Color Legend
✓ Published1🌍 Public
This interactive scatter plot visualizes the relationships between four measurements of iris flowers, using color to distinguish species. Built with React and D3, it features dropdown menus that allow users to switch the variables plotted on the x and y axes, and a color legend that maps species to distinct hues. The plot is rendered as an SVG, with axes and ticks generated by the `AxisBottom` and `AxisLeft` components, and circles positioned using `scaleLinear` while colors come from `scaleOrdinal`. Data is loaded from a CSV file via `useData`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed