Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
Ddaneslutzky
Last edited Oct 5, 2021
Created on Oct 4, 2021

This scatter plot visualizes the Iris dataset, displaying sepal length against sepal width for three flower species. Each circle’s color encodes species membership, with a color legend positioned to the right identifying the categories. Built with React and D3 v7, the chart uses `scaleLinear` for axes, `scaleOrdinal` for color mapping, and custom SVG components for axes, marks, and legend. Data loads from a remote CSV via `d3.csv`, with hover tooltips providing exact values.

AI-generated description

A program that loads data about CSS named colors and uses React to render the data.

MIT Licensed

Similar vizzes