Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Penguin Data set scatter Plot

Public visualization

Viewing a saved revision (read-only)

ba76f6e283a84f0194d8708335eac588

Penguin Data set scatter Plot

0 stars0🌍 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: