🌍 Public
Viewing a saved revision (read-only)
e6d83d16df15430f97399f71ee3d4090
Scatter Plot with Legend
This example shows an interactive scatter plot of the Iris Dataset, where users can choose which numeric attribute to display on the x- and y-axes via dropdown menus. Each point represents a flower sample, colored by species and accompanied by a legend. The visualization is built with React and rendered as SVG, using d3.scaleLinear and d3.scaleOrdinal for scales, while d3.csv loads the data from a remote gist.
AI-generated descriptionA scatter plot of The Iris Dataset.