🌍 Public
Viewing a saved revision (read-only)
974bde6daf2947e2968cf46e717d5f2e
Interactive Color Legend
This interactive scatter plot displays Iris flower measurements, comparing petal length against sepal width. The visualization uses React with D3 v5 scales (scaleLinear, scaleOrdinal) to render SVG elements. A color legend allows hovering to highlight specific species: when a legend item is moused over, points of other species fade to 20% opacity while the selected species remains fully visible. Data comes from the classic Iris dataset loaded via d3.csv.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.