Penguin Data set scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing the relationship between sepal length and petal length with points colored by species using a color legend. The code uses D3 v5 with d3.scaleLinear for positioning, d3.scaleOrdinal with schemeCategory10 for species colors, and d3.csvParse to load the CSV data. Axes and labels are rendered via d3.axisLeft and d3.axisBottom, while the legend is built with custom selection joins and circle elements.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also:
MIT Licensed