D3 Scatter Plot
✓ Published0🌍 Public
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 descriptionMIT Licensed