Vanilla Scatter Plot
✓ Published1🌍 Public
This example renders a scatter plot of the Iris dataset, mapping petal length to the x-axis and sepal length to the y-axis. The code uses D3 v6 with `d3.csv` to load data, `d3.scaleLinear` and `d3.extent` for scales, and `d3.axisLeft` and `d3.axisBottom` for axes. Circles are drawn via SVG using the general update pattern with `selectAll` and `join`. The plot fills the browser window, with margins and tick styling configured in CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed