D3 Scatterplot Black and White Template
✓ Published4🌍 Public
This example renders the Iris dataset as a black-and-white SVG scatterplot, mapping petal length to the x-axis and sepal length to the y-axis. It loads the CSV via `d3.csv`, parses numeric columns, and uses `scaleLinear` with `extent` for domains. Circles are drawn through `selectAll(...).join('circle')`, while `axisLeft` and `axisBottom` generate the axes. The visualization fills the full browser window, with margins and a fixed radius of 5 pixels for each point.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed