Skip to main content
100%

Scatter Plot with color legend

✓ Published0🌍 Public
SSushan Prajapati
Last edited May 25, 2021
Created on May 25, 2021

This scatter plot displays the Iris dataset, mapping petal length on the x-axis and sepal width on the y-axis, with species indicated by color and a legend. It uses React for component-based rendering and D3 scales (d3.scaleLinear, d3.scaleOrdinal) to position circles and assign colors. The data is loaded asynchronously via d3.csv, and the visualization is rendered as SVG with custom axis and legend components.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

MIT Licensed

Similar vizzes