Skip to main content
100%

Fork of D3 Scatter Plot

✓ Published0🌍 Public
RRichard
Last edited May 13, 2021
Created on May 13, 2021
Forked from D3 Scatter Plot

This example visualizes the Iris Dataset as a scatter plot, mapping petal length to the x-axis and sepal length to the y-axis. Each flower is rendered as a fixed-radius circle, with axes labeled via `d3.axisLeft` and `d3.axisBottom`. The code loads CSV data using `d3.csv`, parses numeric values, and applies `d3.scaleLinear` with `d3.extent` to set domains. SVG circles are appended using `selectAll().data().join()`, while margins and window dimensions position the plot.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes