Skip to main content
100%

D3 scatter plot

✓ Published0🌍 Public
Yyankesswang
Last edited Oct 26, 2022
Created on Oct 26, 2022
Forked from SVG Fundamentals

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. Each flower is rendered as an SVG circle using D3 v7, with positions scaled linearly via `d3.scaleLinear` and extents computed from the data. The axes are drawn using `d3.axisLeft` and `d3.axisBottom`, and the visualization fills the browser window. Data is loaded asynchronously with `d3.csv` from a remote GitHub gist, and circles are joined to the SVG using `selection.join`.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes