Skip to main content
100%

D3 Scatter Plot

✓ Published2🌍 Public
Wwspwll@gmail.com
Last edited Jul 18, 2024
Created on Jul 17, 2024
Forked from HTML Starter

This example visualizes the classic Iris dataset as a scatter plot, using petal length on the x-axis and sepal length on the y-axis. The code loads the data via `d3.csv`, maps values to screen coordinates with `d3.scaleLinear` and `d3.extent`, and renders SVG circles. Axes are drawn using `d3.axisLeft` and `d3.axisBottom`. Each point includes a `<title>` element for hover tooltips. The visualization fills the browser window and is implemented with D3 v7.

AI-generated description
MIT Licensed

Similar vizzes