D3 Scatterplot with Regression Line
✓ Published0🌍 Public
RRenonDis
Last edited Jan 26, 2018
Created on Jan 26, 2018
This scatterplot displays the classic Iris dataset, plotting sepal length against sepal width for three species. Each species is represented by a distinct symbol and color: circles for virginica, triangles for setosa, and squares for versicolor. The code computes a linear regression directly from the data and overlays the resulting regression line in green. It uses D3.js version 3.5.6 with SVG rendering, including `d3.svg.axis` for the axes and `d3.svg.symbol` for the custom point shapes.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/0c822a3667fcb53af47e5701c8f84644'>fresh block</a>
mit Licensed