🌍 Public
Viewing a saved revision (read-only)
6d2fddefac4f40318a17e1c5e2210176
Color Legends
This scatterplot displays the Iris dataset, plotting petal length against sepal width. Each flower is represented by a circle colored according to species, with a categorical color legend indicating the mapping. The visualization uses d3.scaleLinear and d3.scaleOrdinal for positioning and coloring, rendered as SVG via React. Axes, tick formatting, and interactive tooltips are implemented using reusable React components that call d3 APIs like extent, format, and scale functions.
AI-generated descriptionA program that loads in the Iris data set and and uses React to render the data.