Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

D3 Scatter Plot

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

Comments

Sign in to join the discussion.

MIT Licensed