Fork of Scatter Plot with Color
✓ Published1🌍 Public
This example shows the Iris Dataset as a scatter plot with colored points representing different species. The visualization maps petal length to the x-axis and sepal width to the y-axis, using a categorical color scale to distinguish species. Built with React and D3 v5, it uses scaleLinear for axes, scaleOrdinal for colors, and renders circles as SVG marks. Tooltips display x-axis values formatted with D3's format function. Data is loaded asynchronously from a CSV via useData, with axis labels and styling defined in an SVG canvas.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed