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)

3524e295ce7b41cf9452e4d08b65a8bd

Fork of Scatter Plot with Color Legend

0 stars0🌍 Public
DDeborah Ong
Last edited Apr 5, 2021
Created on Apr 5, 2021

This interactive scatter plot visualizes the Iris Dataset, showing petal length on the x-axis and sepal width on the y-axis, with points colored by species. Built with React and D3 v5, it uses d3.scaleLinear for both axes and d3.scaleOrdinal for the categorical color mapping. The SVG rendering includes custom axis components, a color legend, and tooltips via SVG title elements. The data is loaded through d3.csv from a GitHub Gist.

AI-generated description

A scatter plot of The Iris Dataset with color legend.