Dataviz 2020_Ep35 - 27. Interactive Color Legend
✓ Published0🌍 Public
MMinwoo Pak
Last edited Jul 20, 2021
Created on Jul 20, 2021
This scatter plot of the Iris dataset shows how petal and sepal dimensions vary across three species. An interactive color legend allows hovering over a species label to isolate its data points while dimming the others. Built with React and D3 v6, it uses `scaleOrdinal` for color mapping and SVG circles for marks. The dropdown menus let users select which quantitative attributes to plot on the x and y axes.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data.
MIT Licensed