🌍 Public
Viewing a saved revision (read-only)
cdee428c91b440d88b443fc2ac80db63
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.