Fork of Fork of Stylized Scatter Plot with Color Legend
This scatter plot visualizes the Iris dataset, mapping petal length to the x-axis and sepal length to the y-axis, with each circle representing an individual flower. Species are distinguished through color, and a legend identifies the three categories. The visualization uses D3 v5 and the d3-legend library, employing d3.scaleLinear for continuous axes and d3.scaleOrdinal with the d3.schemeCategory10 palette for categorical coloring. Axes are rendered with d3.axisBottom and d3.axisLeft, and the legend is generated using d3.legendColor. The SVG canvas is 1050 by 500 pixels, with data loaded asynchronously via d3.csv.
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.