Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Color Legend

Public visualization

Viewing a saved revision (read-only)

348b51447cab4c8a983e18668389694d

Fork of Scatter Plot with Color Legend

0 stars0🌍 Public
NNicolás Troncoso
Last edited Apr 1, 2021
Created on Apr 1, 2021

This scatter plot visualizes the Iris dataset, showing petal length against sepal width with each of the three species colored distinctly. The visualization uses React components to render SVG marks, with d3.scaleLinear for the x and y axes and d3.scaleOrdinal for the categorical color mapping. A color legend identifies species, and axes are generated from d3’s tick formatting. The data is loaded asynchronously using d3.csv, while the tooltip displays the petal length value on hover.

AI-generated description

A scatter plot of The Iris Dataset with color legend.