Skip to main content
100%

D3 Scatter Plot

✓ Published0🌍 Public
Nnithish-1999
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from 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
MIT Licensed

Similar vizzes