CSCE- 5320: ICE-6 Scatter Plot
✓ Published0🌍 Public
This example visualizes the classic Iris dataset as a scatter plot, mapping petal length on the x-axis against sepal length on the y-axis. The code uses D3 v6 to load the CSV data, then applies `scaleLinear` and `extent` to set the scales, and renders the points as SVG circles with axes generated by `axisLeft` and `axisBottom`. Labels for the axes are appended as text elements, and the chart fills the entire viewport with a full-screen SVG canvas.
AI-generated descriptionMIT Licensed