Skip to main content
100%

Scatter Plot+color+legend

✓ Published1🌍 Public
CCyc-Evelyn
Last edited Oct 4, 2020
Created on Oct 4, 2020

This chart visualizes the Iris dataset, plotting petal length against sepal width for individual flowers. A color legend maps the three species to distinct colors, with the legend placed to the right of the plot. The visualization is built with React and D3 v5, using `scaleLinear` for axes and `scaleOrdinal` for species colors. SVG circles represent each data point, and the color legend is generated by the `ColorLegend` component with configurable tick spacing. Axis tick labels are formatted using D3's `format` API.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes