Skip to main content
100%

Color Legends

✓ Published1🌍 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.

MIT Licensed

Similar vizzes