Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
GGayan Priyadarshana
Last edited Aug 3, 2023
Created on Aug 3, 2023

This scatter plot visualizes the Iris Dataset, showing sepal length against sepal width for three iris species. Each point is color-coded by species using a d3.scaleOrdinal, with a custom legend displaying the color mapping. The visualization uses React with D3 scales and axes (d3.scaleLinear, d3.axisBottom, d3.axisLeft) rendered as SVG elements. Hovering reveals a tooltip via SVG `<title>` elements, and the data is loaded asynchronously with d3.csv.

AI-generated description

A scatter plot of the Iris Dataset

MIT Licensed

Similar vizzes