Skip to main content
100%

Scatter Plot with Legend

✓ Published1🌍 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.

MIT Licensed

Similar vizzes