Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

d3 scatterplot

Public visualization

d3 scatterplot

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

Comments

Sign in to join the discussion.

MIT Licensed