Fork of D3 Scatter Plot
✓ Published0🌍 Public
This example shows a scatter plot of the Iris Dataset, with sepal length plotted on the y-axis and petal length on the x-axis. The visualization uses D3 v6 and renders circles as SVG elements, with axes created using `axisLeft` and `axisBottom`. The code loads CSV data via `d3.csv`, scales the values with `scaleLinear`, and computes the domain from the data’s extent using `d3.extent`. The plot’s width and height are set to the full window size, with margins defining the axis positions.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed