Skip to main content
100%

Fork of D3 Scatter Plot (Vanilla JS)

✓ Published0🌍 Public
YYash_Mistry
Last edited May 7, 2021
Created on May 7, 2021

This example shows a scatter plot of the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis as colored circles with a fixed radius. It uses D3 v6 (loaded via a global script tag) with the `csv` parser, `scaleLinear` for scaling, and `axisLeft`/`axisBottom` for axes. The data is fetched from a Google Drive CSV URL, and the SVG rendering fills the full browser window.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes