Skip to main content
100%

Scatter Plot with Color

✓ Published1🌍 Public
Ttrissentety
Last edited Feb 9, 2023
Created on Feb 9, 2023

This scatter plot visualizes the classic Iris dataset, displaying petal length against sepal width with each of the three species represented by a distinct color. Using React and D3 v5, the visualization leverages d3.scaleLinear for both axes and d3.scaleOrdinal for the categorical color mapping. The SVG rendering includes custom axis components (AxisBottom, AxisLeft) and circle marks with native tooltips. Data is loaded asynchronously via d3.csv from a remote gist URL.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes