d3 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and sepal length on the y-axis for each flower specimen. The code loads the data as CSV via `d3.csv`, parses it with a custom row function, and maps values through `d3.scaleLinear` with `d3.extent` for domains. It renders SVG circles using a data join, adds axes via `d3.axisLeft` and `d3.axisBottom`, and reads the window size for a full-viewport layout. The example uses D3 v7 and styles tick labels with CSS.
AI-generated descriptionMIT Licensed