Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 scatterplot

Public visualization

Viewing a saved revision (read-only)

e68ebb29f20048e0844b412c9509ddd2

D3 scatterplot

0 stars10🌍 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