Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Shape

Public visualization

Viewing a saved revision (read-only)

3bffbc7f0e5b4df1bcdb18b869f913d3

Fork of Scatter Plot with Shape

0 stars0🌍 Public
NNeeharikaGali
Last edited Mar 25, 2023
Created on Mar 25, 2023

This interactive scatter plot visualizes the Iris Dataset, mapping sepal length to the x-axis and petal length to the y-axis. Each of the 150 points is colored and shaped according to its species (setosa, versicolor, or virginica). The visualization uses D3's `scaleOrdinal` and `schemeCategory10` for the color scale, while shapes are generated with a symbol generator. A shape legend, rendered via `shapeLegend.js`, displays the species symbols. The chart is built with an SVG canvas, using `scaleLinear` for both axes and `selection.join` for efficient element updates.

AI-generated description

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

See also: