🌍 Public
Viewing a saved revision (read-only)
ae5416e0f7cc407da37cd41ed4beffe3
D3 Scatter Plot
This D3 scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. The SVG rendering uses d3.scaleLinear to transform raw CSV values into pixel coordinates, with d3.min and d3.max defining the domains. Circles represent individual flowers, colored in a teal tone, while d3.axisLeft and d3.axisBottom generate labeled axes. The code loads data via d3.csv and appends text labels for both axes, using a full-window responsive layout with fixed margins.
AI-generated descriptionD3 Scatter Plot