Fork of D3 Scatter Plot
✓ Published0🌍 Public
This example visualizes the Iris dataset with a D3 scatter plot using SVG circles, mapping petal length on the x-axis and sepal length on the y-axis. It loads the CSV data via `d3.csv`, parses numeric fields, and derives scales with `scaleLinear` from the data extent, positioning each point based on those scales. Axes are rendered using `axisBottom` and `axisLeft`, while the plot fills the browser window. The code leverages d3.v6 destructured functions like `select` and `csv` to fetch and draw the points.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed