ScatterPlot + Regression Line applied on iris
✓ Published0🌍 Public
MMariamArabi
Last edited Jan 26, 2018
Created on Jan 25, 2018
This D3.js v4 visualization applies a linear regression model to the classic Iris dataset, plotting petal length against petal width. It uses distinct SVG symbols (triangle, wye, and star) to represent the three iris species, with color encoding from `d3.scaleOrdinal` and `d3.schemeCategory20`. The regression line is computed manually and drawn using `d3.line`, and the equation is displayed in the HTML. Interactive tooltips show data values on hover. The chart includes labeled axes and a legend.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed