Tutorial 2 D3
This visualization displays the Iris flower dataset, plotting petal length against petal width. Each of the three species (setosa, versicolor, virginica) is represented by a distinct SVG symbol—circle, cross, or diamond—and colored using a categorical scale. The view includes a linear regression line calculated from the data and displayed with its equation, alongside a legend. Mouseover interactions reveal a tooltip showing the exact coordinates of each point. Built with D3 v4, the code uses `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, `d3.symbol`, `d3.line`, and `d3.csv` to load the external CSV.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/Jboulery/'>Jboulery</a>'s block: <a href='http://bl.ocks.org/Jboulery/e330914cc666b504a4a277e1f19dced7'>Iris Species with lin reg and mouseover</a>