Fork of Fork of Stylized Scatter Plot with Color Legend
This scatter plot visualizes the Iris Dataset, using D3 v5 to map sepal length and petal length on the x- and y-axes, with each circle representing an iris flower and colored by species via a categorical color scale and an accompanying legend. The code loads data from a remote CSV using `d3.csv`, builds linear scales with `d3.scaleLinear`, and renders axes and SVG circles. It also leverages the `d3-legend` library’s `legendColor` to draw the color key, with axis labels and grid lines styled through CSS.
AI-generated descriptionA scatter plot with D3. 2017 style.
This visualization shows The Iris Dataset. It's designed to emphasize clustering by Petal Length and Sepal Length by Species.
Each circle represents an iris flower.
Ported from Bl.ocks.org: Stylized Scatter Plot with Color Legend.