🌍 Public
Viewing a saved revision (read-only)
619bdfed62ed4a6db667328db43526bf
Making Scatter Plot with Colors
This visualization shows the classic Iris dataset as a scatter plot, mapping sepal length along the horizontal axis and sepal width along the vertical axis, with each species distinguished by a different color. The plot uses React to render SVG elements, while D3 v5 provides scaling functions (`scaleLinear`, `scaleOrdinal`) for positioning and coloring. Custom components handle the axes and color legend, and the data is loaded from a CSV file using D3’s `csv` function.
AI-generated descriptionA scatter plot of The Iris Dataset