React Scatter Plot w/ Menus, Color & Color Legend
✓ Published1🌍 Public
Hhunsingeruk@gmail.com
Last edited Oct 26, 2023
Created on Oct 16, 2023
This interactive scatter plot explores the classic Iris dataset, using dropdown menus to change which flower measurements map to the X and Y axes. Points are colored by species via a categorical color scale with an accompanying legend. The visualization is built with React and D3 v5, using React hooks for state management and D3 scales like `scaleLinear` and `scaleOrdinal` for positioning and color. It renders as SVG with custom axis and mark components, pulling data from a CSV file.
AI-generated descriptionA program that shows the iris data set as a scatter plot with menus, color and color legend.
Data: Iris Data.
MIT Licensed