Skip to main content
100%

8:14 Scatter Plot + legend

✓ Published1🌍 Public
Uumgi
Last edited Mar 2, 2021
Created on Mar 2, 2021

This interactive scatter plot visualizes the Iris flower dataset, with dropdown menus to select which measurements appear on the x and y axes. A color legend distinguishes the three plant species. The visualization is built with React and D3 v5, using `scaleLinear` for axes, `scaleOrdinal` for colors, and D3’s `csv` loader to fetch and parse the data. SVG circles with tooltips render each data point, while custom React components handle the axes and legend.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes