Skip to main content
100%

d3 scatterplot

✓ Published2🌍 Public
GGeorgi Dimitrov
Last edited Jul 2, 2022
Created on Jul 1, 2022
Forked from d3 selections

This visualization displays the Iris dataset, plotting petal length against petal width as a scatterplot of circles rendered in SVG using D3 v6. It loads CSV data via `d3.csv`, maps quantitative values using `scaleLinear` with `extent`, and sets circle positions through `attr('cx')` and `attr('cy')`. Axes are added using `axisLeft` and `axisBottom`, with margins applied to position the plot within the full window dimensions. The code uses `select`, `data`, and `join` to bind the parsed data points to circle elements.

AI-generated description
MIT Licensed

Similar vizzes