Skip to main content
100%

26. Scatter Plot with Color

✓ Published0🌍 Public
PPrashish Paudel
Last edited Apr 1, 2021
Created on Apr 1, 2021

This scatter plot visualizes the Iris dataset, showing petal length against sepal width for three iris species. Each point’s color encodes the species using an ordinal color scale with three distinct hues. Built with React and D3 v5, the chart uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for coloring, and shared axis and mark components rendered as SVG. Data loads asynchronously via `d3.csv` and includes formatted tick labels with a compact SI prefix.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes