Dasbach Fork of D3 Scatter Plot Annotated
✓ Published0🌍 Public
This example shows a scatter plot of the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis for each flower. It renders circles as SVG marks with axes labeled using D3’s `scaleLinear`, `axisLeft`, and `axisBottom`. The code loads CSV data via `d3.csv`, parses numeric fields, and joins data to circle elements using `selectAll` and `join`. The visualization is built with D3 v6 within a React framework, filling the window with a full-screen SVG.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed