Scatter Plot - Fork1
This scatter plot visualizes the Iris dataset, mapping petal length to the x-axis and sepal length to the y-axis. It loads data from a CSV file using d3.csv, applies linear scales via d3.scaleLinear, and renders circles in SVG with tooltips showing coordinate values. The code uses D3 v6’s select, extent, axisLeft, and axisBottom APIs to generate the plot, which fills the browser window with a margin-based layout.