🌍 Public
Viewing a saved revision (read-only)
749f00921d764ef4a2764d3e2f495d10
Scatter Plot with color
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.