Basic Scatter Plot
✓ Published0🌍 Public
SShivaKarpe
Last edited Mar 5, 2022
Created on Mar 5, 2022
This basic scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis with a circle per sample. The chart uses D3 v4’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct axes with grid lines, while `d3.csv` loads the data and parses numeric fields. Points are appended as SVG circles, positioned via the scales, with margins and rotated axis labels styled through SVG text elements.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed