Skip to main content
100%

8:29 interactive legend

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

This interactive scatterplot lets users explore the Iris flower dataset by changing the X and Y axes through dropdowns. Hovering over the color legend fades out all data points except those of the selected species, and the legend itself highlights the hovered category. Built with React and D3 v5, the visualization uses d3.scaleLinear for axes, d3.scaleOrdinal for colors, and d3.csv to load the data, rendering circles as SVG marks.

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