Skip to main content
100%

Scatter Plot Decision Boundaries

✓ Published0🌍 Public
SSiddharthMittal07
Last edited Mar 5, 2022
Created on Mar 1, 2022
Forked from React Starter

The scatter plot displays the Iris dataset, mapping sepal length against sepal width with points colored by species. Three semi-transparent, colored regions overlay the plot, visually representing approximate decision boundaries that partition the feature space by species. The visualization uses D3’s `scaleLinear` and `scaleOrdinal` for coordinate and color mapping, and renders the regions as SVG paths built from manually defined coordinate arrays via `d3.line()`. Points are drawn as circles with 0.6 opacity, and the plot includes tick marks and axis lines generated through D3’s tick API.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes