Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
NNikhil Reddy Manda
Last edited May 15, 2021
Created on May 15, 2021

This interactive scatter plot displays the Iris flower dataset, mapping petal length and sepal width on the axes while coloring each point by species. A custom color legend uses d3.scaleOrdinal to encode species categories, and hovering over a legend item highlights only the corresponding points while fading the rest. The visualization is built with React and d3.v5, rendering to SVG, with a d3.scaleLinear for axes and a d3.csv data loader.

AI-generated description

Interactive Color Legend

MIT Licensed

Similar vizzes