Skip to main content
100%

CSCE- 5320: ICE-6 Scatter Plot

✓ Published0🌍 Public
NNaveenParitala
Last edited Mar 8, 2022
Created on Mar 8, 2022

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 description
MIT Licensed

Similar vizzes