Skip to main content
100%

D3 scatterplot

✓ Published10🌍 Public
AAnshul Rawat
Last edited Jan 15, 2024
Created on Dec 29, 2023
Forked from HTML Starter

This scatterplot visualizes the Iris dataset, plotting petal length against sepal length for individual flowers. The SVG chart uses D3 v7's `scaleLinear`, `axisBottom`, and `axisLeft` to map data to screen coordinates and render labeled axes. Circles represent each data point, loaded via `d3.csv` from a GitHub gist, with numeric fields parsed on import. The visualization fills the entire browser window by setting the SVG dimensions to `window.innerWidth` and `window.innerHeight`.

AI-generated description
MIT Licensed

Similar vizzes