Skip to main content
100%

D3 Scatterplot

✓ Published2🌍 Public
Aajoua
Last edited Feb 6, 2023
Created on Feb 3, 2023
Forked from HTML Starter

This example visualizes the Iris dataset as a scatterplot, mapping petal length on the x-axis and sepal length on the y-axis. Each flower is rendered as a circle using D3’s selection and data-join methods. The code loads the data via `d3.csv`, scales positions with `d3.scaleLinear`, and adds axes through `d3.axisLeft` and `d3.axisBottom`. The SVG is sized to the full window, and the plot includes customizable margins and tick font sizing.

AI-generated description
MIT Licensed

Similar vizzes