🌍 Public
Viewing a saved revision (read-only)
928563b4f4164488b88b41d3f7a9ee03
Fork of Blank Slate with Hot Reloading
This example visualizes the classic Iris dataset as a scatter plot, showing petal length against sepal length. Points are colored by iris species according to a categorical scale, with a bespoke color legend positioned in the lower-right corner. The implementation uses D3.js APIs including `scaleLinear`, `scaleOrdinal`, `schemeCategory10`, and `selection.join` to build the chart and its axes declaratively. The code reads CSV data directly and constructs the visualization with the `scatterPlot` module.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also: