Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Color Legends

Public visualization

Color Legends

0 stars1🌍 Public
Llefat92
Last edited Aug 20, 2023
Created on Aug 20, 2023

This scatterplot displays the Iris dataset, plotting petal length against sepal width. Each flower is represented by a circle colored according to species, with a categorical color legend indicating the mapping. The visualization uses d3.scaleLinear and d3.scaleOrdinal for positioning and coloring, rendered as SVG via React. Axes, tick formatting, and interactive tooltips are implemented using reusable React components that call d3 APIs like extent, format, and scale functions.

AI-generated description

A program that loads in the Iris data set and and uses React to render the data.

Comments

Sign in to join the discussion.

MIT Licensed