🌍 Public
Viewing a saved revision (read-only)
c962d7f94b874a32b2145d71845b1a79
D3 Scatter Plot
This D3 scatter plot visualizes the relationship between petal length and sepal length using the classic Iris dataset. Loaded from a CSV file via `d3.csv`, the chart plots each flower as a circle using `d3.scaleLinear` to map data values to SVG coordinates, with margins applied to the full viewport. The visualization includes `d3.axisLeft` and `d3.axisBottom` for labeled axes, and the SVG rendering is driven by data joins through `selection.join('circle')`. The chart updates responsively to the window size, with points sized at a fixed radius of five pixels.
AI-generated description