Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot with Color

Public visualization

Viewing a saved revision (read-only)

20438e4050544c72872eac14121e6488

Scatterplot with Color

0 stars1🌍 Public
KK3zter
Last edited Dec 17, 2021
Created on Dec 17, 2021

This interactive scatterplot visualizes the Iris dataset, plotting petal length against sepal width. Each flower specimen appears as a circle colored by species using d3.scaleOrdinal with a categorical color palette. The visualization is built with React and D3 v7, using SVG rendering for precise control. Axes are generated with d3.scaleLinear, and circles include native SVG `<title>` elements providing tooltips on hover. Data is loaded asynchronously from a CSV file using d3.csv, with numeric parsing applied to measurement columns.

AI-generated description

A scatterplot of the Iris dataset