Scatterplot with Color and Legend
✓ Published1🌍 Public
A scatterplot of Iris flower measurements uses D3 scales and React components to render sepal length against sepal width. The view encodes species membership through color, with an ordinal scale mapping three categories to a fixed palette. A D3-generated legend identifies the color-to-species correspondence, while axis components provide tick marks and labels. The React application loads CSV data via D3's `csv` utility and renders the visualization as SVG, with a color legend and tooltips showing exact values.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!
MIT Licensed