Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

c82720f585e94fdb989d28fa905d498c

D3 Scatter Plot

0 stars1🌍 Public
MMatheesha Yapa
Last edited Jun 28, 2023
Created on Jun 27, 2023
Forked from D3 Selections

This D3 scatter plot visualizes the Iris dataset, plotting petal length against sepal length for individual flowers. The example demonstrates a straightforward workflow using D3 version 7.8.5, where it loads the CSV data from a URL, scales the x and y axes with `scaleLinear`, and uses `extent` to determine the domain. The SVG rendering is created with a full-viewport canvas, with circles positioned using the computed scales. Axes are generated using `axisLeft` and `axisBottom`, and the code applies a `selectAll` and `join` pattern to render the data points.

AI-generated description

A demonstration of how to start using D3 version 6.