Skip to main content
100%

D3 Scatter Plot Following Along

✓ Published2🌍 Public
PParker-D5
Last edited Sep 28, 2023
Created on Sep 28, 2023
Forked from HTML Starter

This example displays the classic Iris dataset as a scatter plot, mapping petal length along the x-axis and sepal length along the y-axis. The visualization uses D3 v7’s `scaleLinear` and `extent` functions to compute the domain from the CSV data, then renders circles via SVG selection joins. Axis components are generated with `axisLeft` and `axisBottom`. The plot fills the entire browser window, with data loaded asynchronously from a GitHub gist, parsed to numeric values, and drawn with fixed 5-pixel radius points.

AI-generated description
MIT Licensed

Similar vizzes