🌍 Public
Viewing a saved revision (read-only)
0dcf114c466a4039abe7275ad5b846ee
D3 scatter plot
This D3 scatter plot visualizes the Iris flower dataset, plotting petal length against sepal length for individual samples. The SVG rendering uses d3.scaleLinear to map data values to pixel coordinates, with d3.axisLeft and d3.axisBottom providing labeled scales. d3.csv loads the external data source, and d3.select creates circles for each data point. The chart fills the browser window, with margins separating the plot area from its axes.
AI-generated descriptionVanilla HTML D3 Scatter Plot With Irish Data Set,