Fork of D3 scatterplot
✓ Published0🌍 Public
This example shows a scatterplot of the Iris dataset, plotting petal length on the x-axis against sepal length on the y-axis. The code loads the data via `d3.csv`, parses numeric values, and uses `d3.scaleLinear` with `d3.extent` to map the data ranges to the full browser window. Each data point is rendered as an SVG circle, and axes are generated with `d3.axisLeft` and `d3.axisBottom`. The visualization uses `d3.v7` and a minimal, full-screen SVG layout with fixed margins.
AI-generated descriptionMIT Licensed