8:29 interactive legend
✓ Published0🌍 Public
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 descriptionA 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