Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Legend

Public visualization

Viewing a saved revision (read-only)

b648ab78196c4bc4904ba54b572b0533

Scatter Plot with Legend

0 stars1🌍 Public
Jj-PGi
Last edited Jul 30, 2021
Created on Jul 30, 2021

This example shows an interactive scatter plot of the Iris Dataset, where users can choose which numeric attribute to display on the x- and y-axes via dropdown menus. Each point represents a flower sample, colored by species and accompanied by a legend. The visualization is built with React and rendered as SVG, using d3.scaleLinear and d3.scaleOrdinal for scales, while d3.csv loads the data from a remote gist.

AI-generated description

A scatter plot of The Iris Dataset.