🌍 Public
Viewing a saved revision (read-only)
5f283c75f5044a0db4946528316ef941
Polished scatter plot with menus and color
This interactive scatter plot visualizes the Iris dataset, letting users explore relationships between sepal and petal measurements. Two dropdown menus, built with `react-dropdown`, control which attribute is displayed on the x and y axes, while flower species are color-coded using `d3.scaleOrdinal` with a custom palette. The plot is rendered as SVG using React components (`AxisBottom`, `AxisLeft`, `Marks`) that leverage `d3.scaleLinear` for axis scaling and ticks. Hovering over a point reveals its x-value via a native SVG `<title>` tooltip.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.