Skip to main content
100%

D3 Scatterplot Viz (D3 Tutorial)

✓ Published1🌍 Public
CCasualWanderer20XX
Last edited Sep 19, 2025
Created on Sep 18, 2025
Forked from HTML Starter

A D3.js scatterplot visualizes the Iris dataset, mapping petal width on the x-axis and sepal width on the y-axis. Each of the 150 data points is rendered as a circle in an SVG canvas that fills the browser window. The code uses `d3.csv` to load the data, `scaleLinear` and `extent` to compute scales, and `axisLeft` and `axisBottom` to draw the axes. The visualization demonstrates a minimal, full-screen scatterplot with no color encoding or labels beyond the axes.

AI-generated description
MIT Licensed

Similar vizzes