Scatter Plot with color
✓ Published1🌍 Public
A React-based scatter plot visualizes the Iris dataset, plotting sepal length against sepal width. Each point is colored by species using a d3.scaleOrdinal color scale with three categorical colors. The visualization uses React components to render SVG circles for marks and custom axis components built with d3.scaleLinear scales. Hovering over a circle reveals a tooltip with the sepal length value, implemented via a native SVG title element.
AI-generated descriptionA program that loads data about CSS named colors and uses React to render the data.
MIT Licensed