D3 Scatter Plot Vanilla Javascript
✓ Published2🌍 Public
This scatter plot visualizes the relationship between petal length and sepal length using the classic Iris dataset, loaded from a GitHub gist via `d3.csv`. The chart maps each flower’s measurements to x and y positions using `d3.scaleLinear` and `d3.extent`, rendering circles as SVG marks. It includes axes generated with `d3.axisLeft` and `d3.axisBottom`, plus a title, all drawn with D3 v7 in vanilla JavaScript. The plot fills the browser window, with points sized at a fixed radius.
AI-generated descriptionCreate a scatter plot with vanilla javascript
MIT Licensed