Skip to main content
100%

Penguin Data set scatter Plot

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 8, 2023
Created on Mar 8, 2023

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 description

A scatter plot of the Iris Dataset with a color legend.

See also:

MIT Licensed

Similar vizzes