🌍 Public
Viewing a saved revision (read-only)
f1bad3f160ba4dedad1e46166c713db9
Color Legend Scatter Plot
This example visualizes the Iris Dataset, plotting petal length against sepal width for individual flowers. A categorical color legend distinguishes the three iris species via a d3.scaleOrdinal color scale with custom ranges. The visualization uses React components to render SVG elements, with d3.scaleLinear for both axes and separate AxisBottom, AxisLeft, Marks, and ColorLegend components. Data is loaded asynchronously using d3.csv from a remote Gist URL.
AI-generated descriptionA scatter plot of The Iris Dataset.