🌍 Public
Viewing a saved revision (read-only)
cc581a9db6274569b51731978cd23817
D3 Scatter Plot
This visualization displays a scatter plot of the classic Iris dataset, mapping petal length on the x-axis against sepal length on the y-axis. The code loads the data using `d3.csv`, converts the numeric fields, and uses `d3.scaleLinear` with `d3.extent` to set the scales. Circles are rendered with `d3.selectAll` and `.join`, while `d3.axisLeft` and `d3.axisBottom` provide the labeled axes, with all drawing done in SVG.
AI-generated descriptionA demonstration of how to start using D3 version 6.