Scatter Plot with Color
✓ Published1🌍 Public
This scatter plot visualizes the Iris dataset, using React state to let users select which flower measurements appear on the X and Y axes, while color encodes species via d3.scaleOrdinal. The SVG rendering uses d3.scaleLinear for axes and d3.extent for domains, with React components for the dropdown menus. Axes are drawn with custom AxisBottom and AxisLeft components, and each data point is a circle with an SVG title tooltip.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.
MIT Licensed