Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
RRudy Shayganfar
Last edited Oct 14, 2020
Created on Oct 14, 2020

A scatter plot of the Iris Dataset displays petal length (x-axis) against sepal width (y-axis), with each species represented by a distinct color and a custom legend of colored circles. Built with React and D3 v5, the visualization uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for colors, and SVG rendering with reusable React components for axes, marks, and the legend. Data is loaded asynchronously via `d3.csv` from the remote iris.csv file.

AI-generated description

A scatter plot of The Iris Dataset.

This plot was made by forking Scatter Plot with Color and modifying based on the CS573 Week 7 video "Making a Color Legend".

MIT Licensed

Similar vizzes