Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ep. 33 | Scatter Plot with Color

Public visualization

Viewing a saved revision (read-only)

ad7699415e204bbfb8ae46f3b7f5f456

Ep. 33 | Scatter Plot with Color

0 stars1🌍 Public
YYee Han
Last edited Dec 30, 2020
Created on Dec 30, 2020

This scatter plot visualizes the Iris dataset, showing petal length against sepal width for three flower species. Each circle is colored via a D3 ordinal scale that maps species to a categorical color palette, with the species name accessible through a native SVG title tooltip. React components render the axes and marks, while d3.scaleLinear handles position scaling and d3.format formats the tick labels. The CSV data is loaded asynchronously using the d3.csv method within a React hook.

AI-generated description

A scatter plot of The Iris Dataset.