Fork of Grouped Scatter Plot
✓ Published0🌍 Public
This example visualizes the Iris flower dataset, showing sepal width plotted against sepal length. The scatter plot is grouped by species, with each species rendered in its own horizontal band. The visualization uses React components to build the SVG chart, with D3 scales (scaleLinear for x and y axes, scaleBand for species grouping) and D3’s extent and format functions. Data is loaded asynchronously from a remote CSV file using D3’s csv method, and each point is drawn as a circle with a tooltip displaying the sepal length.
AI-generated descriptionSepal width (Y) vs. sepal length (X) of Iris flowers, grouped by species.
MIT Licensed